Skip to content

Commit

Permalink
Host binding #411
Browse files Browse the repository at this point in the history
  • Loading branch information
sbs20 committed Mar 18, 2022
1 parent 9754826 commit 0ae88e6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/server/config/config.default.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ module.exports = {
/**
* Override any of the following values
*/
// config.bindIface = '127.0.0.1';
// config.host = '127.0.0.1';
// config.port = 8080;
// config.devices = [];
// config.ocrLanguage = 'eng';
Expand Down
2 changes: 1 addition & 1 deletion packages/server/src/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class Config {
Object.assign(this, {
version: Package.version,
port: 8080,
bindIface: "::",
host: '::',
timeout: 120000,
devices: [],
ocrLanguage: 'eng',
Expand Down
2 changes: 1 addition & 1 deletion packages/server/src/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ app.use(express.static('client'));

configure(app);

const server = app.listen(Config.port, Config.bindIface, () => {
const server = app.listen(Config.port, Config.host, () => {
log.info('Started');
});

Expand Down

0 comments on commit 0ae88e6

Please sign in to comment.