Changed default http port.

Avoids problems with radare2 instances
This commit is contained in:
Hugo Teso 2017-03-30 11:06:19 +02:00
parent 9036dd0c35
commit 00354483a1
2 changed files with 2 additions and 1 deletions

View File

@ -65,7 +65,7 @@ try {
} }
} catch ( e ) {} } catch ( e ) {}
r2.root = "http://localhost:9090"; // prefix path r2.root = "http://localhost:14170"; // prefix path
/* helpers */ /* helpers */
function dump(obj) { function dump(obj) {

View File

@ -53,6 +53,7 @@ QRCore::QRCore(QObject *parent) :
// Used by the HTML5 graph // Used by the HTML5 graph
config("http.cors","true"); config("http.cors","true");
config("http.sandbox", "false"); config("http.sandbox", "false");
config("http.port", "14170");
// Temporary fixes // Temporary fixes
//config("http.root","/usr/local/share/radare2/last/www"); //config("http.root","/usr/local/share/radare2/last/www");