Call chrome by default
authorMathieu Baudier <mbaudier@argeo.org>
Wed, 7 Feb 2018 17:30:51 +0000 (18:30 +0100)
committerMathieu Baudier <mbaudier@argeo.org>
Wed, 7 Feb 2018 17:30:51 +0000 (18:30 +0100)
dist/argeo-node/rpm/usr/share/node/jjs/cms.js

index df64a2556acd84a3473e606699360a30f61a25a5..446747f550b627d2d1fbd239f9127b73f5fffc6d 100755 (executable)
@@ -39,8 +39,8 @@ if (typeof app !== 'undefined') {
 
 function openWorkbench() {
        osgi.spring("org.argeo.cms.ui.workbench.rap");
-       var appUrl = "http://localhost:" + osgi.httpPort + "/ui/node";
-       $EXEC("/usr/bin/chromium-browser --app=" + appUrl);
+       var appUrl = "http://127.0.0.1:" + osgi.httpPort + "/ui/node";
+       $EXEC("chrome --app=" + appUrl);
        // shutdown when the window is closed
        osgi.shutdown();
 }
\ No newline at end of file