diff --git a/server/index.js b/server/index.js index f499577..1996d3d 100644 --- a/server/index.js +++ b/server/index.js @@ -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}`); });