Compare commits

...

3 Commits

Author SHA1 Message Date
Ephraim Duncan 25a37cc912 Merge branch 'main' into chore/server-hostname-config 2025-11-27 12:54:15 +00:00
Ephraim Atta-Duncan b8818ae74b chore: stuff 2025-11-27 12:53:16 +00:00
Ephraim Atta-Duncan 117c787129 chore: add configurable hostname 2025-11-27 12:47:09 +00:00
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",