1
0

Allow access from any host

This commit is contained in:
2024-07-15 20:55:29 +10:00
parent 94e6acc59f
commit 97cec5a5f9
+1 -1
View File
@@ -38,7 +38,7 @@ const app = express();
app.use(cors());
app.use(bodyParser.json());
app.use(express.static(path.join(`${__dirname}/${DIST_DIR}`)));
app.listen(PORT, "localhost", async () => {
app.listen(PORT, async () => {
await open(`http://localhost:${PORT}`);
console.log(`${appName} v${ver} has started on port ${PORT}`);
});