Compare commits

...
2 changed files with 7 additions and 1 deletions
+6 -1
View File
@@ -31,5 +31,10 @@ server.use(
const handler = handle(build, server);
const port = parseInt(process.env.PORT || '3000', 10);
const hostname = process.env.HOSTNAME || '0.0.0.0';
serve({ fetch: handler.fetch, port });
serve({
fetch: handler.fetch,
port,
hostname,
});
+1
View File
@@ -39,6 +39,7 @@
"globalEnv": [
"APP_VERSION",
"PORT",
"HOSTNAME",
"NEXT_PRIVATE_ENCRYPTION_KEY",
"NEXT_PRIVATE_ENCRYPTION_SECONDARY_KEY",
"NEXTAUTH_SECRET",