fix!: major security issues. No host were filled and anyone through LAN could make undesirable things

This commit is contained in:
MasterAcnolo
2026-11-12 19:33:42 +01:00
parent f650770df7
commit 787cc69600

View File

@@ -36,7 +36,7 @@ app.get("/", rateLimit, (req, res) => {
*/ */
async function startServer() { async function startServer() {
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
serverInstance = app.listen(config.applicationPort, () => { serverInstance = app.listen(config.applicationPort, "127.0.0.1" ,() => {
logger.info(`Express server ready at http://localhost:${config.applicationPort}`); logger.info(`Express server ready at http://localhost:${config.applicationPort}`);
resolve(serverInstance); resolve(serverInstance);
}); });