mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-20 23:46:14 -04:00
Windows does not like IP addresses of 0.0.0.0.
This commit is contained in:
parent
a7c009d0c9
commit
45ba5d60dc
2 changed files with 2 additions and 2 deletions
|
@ -154,7 +154,7 @@ async.waterfall([
|
||||||
// CommonJS loader on the client-side.
|
// CommonJS loader on the client-side.
|
||||||
var jsServer = new (Yajsml.Server)({
|
var jsServer = new (Yajsml.Server)({
|
||||||
rootPath: 'minified/'
|
rootPath: 'minified/'
|
||||||
, rootURI: 'http://' + settings.ip + ":" + settings.port + '/static/js/'
|
, rootURI: 'http://localhost:' + settings.port + '/static/js/'
|
||||||
});
|
});
|
||||||
var StaticAssociator = Yajsml.associators.StaticAssociator;
|
var StaticAssociator = Yajsml.associators.StaticAssociator;
|
||||||
var associations =
|
var associations =
|
||||||
|
|
|
@ -148,7 +148,7 @@ function getAceFile(callback) {
|
||||||
var filename = item.match(/"([^"]*)"/)[1];
|
var filename = item.match(/"([^"]*)"/)[1];
|
||||||
var request = require('request');
|
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) {
|
request(baseURI + path.normalize(path.join('/static/', filename)), function (error, response, body) {
|
||||||
if (!error && response.statusCode == 200) {
|
if (!error && response.statusCode == 200) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue