From 00354483a15bf56614cffd16012efe4eabd153c9 Mon Sep 17 00:00:00 2001 From: Hugo Teso Date: Thu, 30 Mar 2017 11:06:19 +0200 Subject: [PATCH] Changed default http port. Avoids problems with radare2 instances --- src/html/graph/lib/js/r2_bokken.js | 2 +- src/qrcore.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/html/graph/lib/js/r2_bokken.js b/src/html/graph/lib/js/r2_bokken.js index fc4dd6fb..d2a96d88 100644 --- a/src/html/graph/lib/js/r2_bokken.js +++ b/src/html/graph/lib/js/r2_bokken.js @@ -65,7 +65,7 @@ try { } } catch ( e ) {} -r2.root = "http://localhost:9090"; // prefix path +r2.root = "http://localhost:14170"; // prefix path /* helpers */ function dump(obj) { diff --git a/src/qrcore.cpp b/src/qrcore.cpp index 315f131f..b6759475 100644 --- a/src/qrcore.cpp +++ b/src/qrcore.cpp @@ -53,6 +53,7 @@ QRCore::QRCore(QObject *parent) : // Used by the HTML5 graph config("http.cors","true"); config("http.sandbox", "false"); + config("http.port", "14170"); // Temporary fixes //config("http.root","/usr/local/share/radare2/last/www");