network again
This commit is contained in:
@@ -244,7 +244,7 @@ const internalApp = express();
|
|||||||
internalApp.use('/internal', internalApi);
|
internalApp.use('/internal', internalApi);
|
||||||
|
|
||||||
if (CONFIG.INTERNAL_API_SECRET) {
|
if (CONFIG.INTERNAL_API_SECRET) {
|
||||||
internalApp.listen(CONFIG.INTERNAL_API_PORT, '127.0.0.1', () => {
|
internalApp.listen(CONFIG.INTERNAL_API_PORT, '0.0.0.0', () => {
|
||||||
console.log(`[internalApi] listening on 127.0.0.1:${CONFIG.INTERNAL_API_PORT}`);
|
console.log(`[internalApi] listening on 127.0.0.1:${CONFIG.INTERNAL_API_PORT}`);
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user