Skip to content
Snippets Groups Projects
Unverified Commit 6de775a1 authored by UnexomWid's avatar UnexomWid
Browse files

add: hostname binding support

parent 1d74b9d7
No related branches found
No related tags found
No related merge requests found
......@@ -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: 'localhost',
serverFiles: join(root, 'server-files'),
userFiles: join(root, 'user-files')
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment