mirror of
https://github.com/actualbudget/actual.git
synced 2026-03-11 20:44:32 -05:00
Merge pull request #6 from UnexomWid/master-hostname-binding
Add hostname binding
This commit is contained in:
4
app.js
4
app.js
@@ -43,8 +43,8 @@ async function run() {
|
||||
await accountApp.init();
|
||||
await syncApp.init();
|
||||
|
||||
console.log('Listening on ' + config.port + '...');
|
||||
app.listen(config.port);
|
||||
console.log('Listening on ' + config.hostname + ':' + config.port + '...');
|
||||
app.listen(config.port, config.hostname);
|
||||
}
|
||||
|
||||
run().catch(err => {
|
||||
|
||||
@@ -9,6 +9,7 @@ try {
|
||||
config = {
|
||||
mode: 'development',
|
||||
port: 5006,
|
||||
hostname: '0.0.0.0',
|
||||
serverFiles: join(root, 'server-files'),
|
||||
userFiles: join(root, 'user-files')
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user