diff options
author | Chad Weider <cweider@oofn.net> | 2012-02-28 18:13:10 -0800 |
---|---|---|
committer | Chad Weider <cweider@oofn.net> | 2012-02-28 18:13:10 -0800 |
commit | 45ba5d60dc9d2e48f491cfcc9e30ceadb129facc (patch) | |
tree | e07c28952a7f2d0486e928d45ce1d5dfd8b4776c | |
parent | a7c009d0c9bb711d11ee20b998ffdd853a4d5c47 (diff) | |
download | etherpad-lite-45ba5d60dc9d2e48f491cfcc9e30ceadb129facc.zip |
Windows does not like IP addresses of 0.0.0.0.
-rw-r--r-- | node/server.js | 2 | ||||
-rw-r--r-- | node/utils/Minify.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/node/server.js b/node/server.js index 8b0ab2f5..c5377d81 100644 --- a/node/server.js +++ b/node/server.js @@ -154,7 +154,7 @@ async.waterfall([ // CommonJS loader on the client-side. var jsServer = new (Yajsml.Server)({ rootPath: 'minified/' - , rootURI: 'http://' + settings.ip + ":" + settings.port + '/static/js/' + , rootURI: 'http://localhost:' + settings.port + '/static/js/' }); var StaticAssociator = Yajsml.associators.StaticAssociator; var associations = diff --git a/node/utils/Minify.js b/node/utils/Minify.js index 00e1ce22..04371851 100644 --- a/node/utils/Minify.js +++ b/node/utils/Minify.js @@ -148,7 +148,7 @@ function getAceFile(callback) { var filename = item.match(/"([^"]*)"/)[1]; var request = require('request'); - var baseURI = 'http://' + settings.ip + ":" + settings.port + var baseURI = 'http://localhost:' + settings.port request(baseURI + path.normalize(path.join('/static/', filename)), function (error, response, body) { if (!error && response.statusCode == 200) { |