fix: pick new listen address

This commit is contained in:
nobody 2025-11-02 14:25:28 -08:00
commit a79a84f224
Signed by: GrocerPublishAgent
GPG key ID: D460CD54A9E3AB86
2 changed files with 4 additions and 4 deletions

View file

@ -28,7 +28,7 @@ const buildDir = join(distDir, "build");
const assetsDir = join(distDir, "assets");
// Allow for dynamic port
const PORT = process.env.PORT ?? 3000;
const PORT = parseInt(process.env.PORT ?? '3000', 10);
// Create the Qwik City Node middleware
const { router, notFound } = createQwikCity({
@ -67,7 +67,7 @@ app.use(router);
app.use(notFound);
// Start the express server
app.listen(PORT, () => {
app.listen(PORT, '127.221.91.58', () => {
/* eslint-disable */
console.log(`Server started: http://localhost:${PORT}/`);
console.log(`Server started: http://127.221.91.58:${PORT}/`);
});