-- Leo's gemini proxy

-- Connecting to git.thebackupbox.net:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini

repo: janusweb
action: commit
revision:
path_from:
revision_from: 945ece4dfffe20b5882e53aedc5701adbc8e7c02:
path_to:
revision_to:

git.thebackupbox.net

janusweb

git://git.thebackupbox.net/janusweb

commit 945ece4dfffe20b5882e53aedc5701adbc8e7c02
Author: James Baicoianu <james_github@baicoianu.com>
Date:   Sat Apr 16 12:59:59 2016 -0700

    Allow server override via URL parameters

diff --git a/scripts/janusweb.js b/scripts/janusweb.js

index 53d49274071b21d1cbdc8c91a9bbd4438d9f4a09..

index ..79498f880863acf36bff518f0fb48b4fc8ebd732 100644

--- a/scripts/janusweb.js
+++ b/scripts/janusweb.js
@@ -40,8 +40,11 @@ elation.require(['janusweb.config', 'engine.things.generic','engine.things.remot
       // connect to presence server
       //this.userId = Date.now().toString();
       this.userId = this.getUsername();
+      var host = elation.utils.any(hashargs['janus.server'], elation.config.get('janusweb.network.host')),
+          port = elation.utils.any(hashargs['janus.port'], elation.config.get('janusweb.network.port'), 5567);
       var janusOptions = {
-        host: elation.config.get('janusweb.network.host'),
+        host: host,
+        port: port,
         userId: this.userId,
         version: '49.54',
         roomUrl: starturl

-----END OF PAGE-----

-- Response ended

-- Page fetched on Sun Jun 2 14:32:02 2024