bind url to config

This commit is contained in:
Evert Prants 2022-04-03 15:49:45 +03:00
parent aac1d8d280
commit 79c9ea8968
Signed by: evert
GPG Key ID: 1688DA83D222D0B5

View File

@ -174,7 +174,7 @@ setInterval(() => {
///
canvas.initialize().then(() =>
server.listen(config.server.port, '0.0.0.0', () => {
server.listen(config.server.port, config.server.bind, () => {
console.log(`Listening at http://localhost:${config.server.port}/`);
}),
);