mirror of
https://github.com/MasterAcnolo/Freedom-Loader.git
synced 2026-11-13 15:09:20 +01:00
Compare commits
1 Commits
f650770df7
...
dev
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
787cc69600 |
@@ -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);
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user