mirror of
https://github.com/documenso/documenso.git
synced 2026-07-27 10:25:00 +10:00
chore: stuff
This commit is contained in:
@@ -33,13 +33,8 @@ const handler = handle(build, server);
|
|||||||
const port = parseInt(process.env.PORT || '3000', 10);
|
const port = parseInt(process.env.PORT || '3000', 10);
|
||||||
const hostname = process.env.HOSTNAME || '0.0.0.0';
|
const hostname = process.env.HOSTNAME || '0.0.0.0';
|
||||||
|
|
||||||
serve(
|
serve({
|
||||||
{
|
fetch: handler.fetch,
|
||||||
fetch: handler.fetch,
|
port,
|
||||||
port,
|
hostname,
|
||||||
hostname,
|
});
|
||||||
},
|
|
||||||
(info) => {
|
|
||||||
console.log(`🚀 Documenso Server listening on http://${info.address}:${info.port}`);
|
|
||||||
},
|
|
||||||
);
|
|
||||||
|
|||||||
@@ -39,6 +39,7 @@
|
|||||||
"globalEnv": [
|
"globalEnv": [
|
||||||
"APP_VERSION",
|
"APP_VERSION",
|
||||||
"PORT",
|
"PORT",
|
||||||
|
"HOSTNAME",
|
||||||
"NEXT_PRIVATE_ENCRYPTION_KEY",
|
"NEXT_PRIVATE_ENCRYPTION_KEY",
|
||||||
"NEXT_PRIVATE_ENCRYPTION_SECONDARY_KEY",
|
"NEXT_PRIVATE_ENCRYPTION_SECONDARY_KEY",
|
||||||
"NEXTAUTH_SECRET",
|
"NEXTAUTH_SECRET",
|
||||||
|
|||||||
Reference in New Issue
Block a user