mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-12-24 01:10:31 +01:00
Adds hostname support, fixes #343
Works from previous testing but I haven't tried this personal revision of the code. Take it with a grain of salt.
This commit is contained in:
@@ -134,7 +134,7 @@ var express = require('express'),
|
||||
templates['logout'] = parsedTemplate;
|
||||
});
|
||||
|
||||
server.listen(nconf.get('PORT') || nconf.get('port'));
|
||||
server.listen(nconf.get('PORT') || nconf.get('port'), nconf.get('use_ip') ? nconf.get('hostname_set') : '0.0.0.0');
|
||||
}
|
||||
|
||||
auth.initialize(app);
|
||||
|
||||
Reference in New Issue
Block a user