From 8b6b19d36b82ab2955e98e6f31a4bf1dcd1c90c1 Mon Sep 17 00:00:00 2001 From: u4pak Date: Mon, 22 Jan 2024 16:45:01 -0800 Subject: [PATCH] fuck port 80 --- Server/Source/Modules/Constants.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Server/Source/Modules/Constants.ts b/Server/Source/Modules/Constants.ts index e32b062..68c1979 100644 --- a/Server/Source/Modules/Constants.ts +++ b/Server/Source/Modules/Constants.ts @@ -5,7 +5,7 @@ export const PROJECT_NAME = process.env.PROJECT_NAME ?? "BasedServer"; // Defaul export const BODY_SIZE_LIMIT = process.env.BODY_SIZE_LIMIT ?? "10mb"; // Doesn't accept requests with body sizes larger than this value. export const SERVER_URL = process.env.SERVER_URL ?? "localhost"; // The server's URL. Not used for a lot by default. export const DASHBOARD_URL = process.env.DASHBOARD_URL ?? "localhost:5173"; // The server's URL. Not used for a lot by default. -export const PORT = process.env.PORT ?? 80; // Port for the server to run on. +export const PORT = process.env.PORT ?? 6677; // Port for the server to run on. export const ENDPOINT_AUTHENTICATION_ENABLED = !!process.env.ENDPOINT_AUTHENTICATION; // Whether the server is locked down behind a header. export const _ENDPOINT_AUTHENTICATION_ENV = process.env.ENDPOINT_AUTHENTICATION; export const ENDPOINT_AUTH_HEADER = _ENDPOINT_AUTHENTICATION_ENV?.split(":")[0]; // Header name for endpoint auth.