merge BASE_URL and BASE_PASH into ROOT_URL

This commit is contained in:
bytedream committed 2026-10-31 03:18:42 +01:00
1 parent e0a0b188ad
commit e22c664aae
22 files changed
+56 -46

No files matched your search

+3 -3
View File
@@ -28,6 +28,7 @@
let
dbPort = 3306;
webPort = 4321;
webBasePath = "/craftattack";
dbName = "website";
dbUser = "website";
dbPassword = "website";
@@ -49,8 +50,7 @@
PAYPAL_LINK = "http://example.com";
SERVER_IP = "example.com";
BASE_HOST = "http://localhost:4321";
BASE_PATH = "/craftattack";
ROOT_URL = "http://localhost:${toString webPort}${webBasePath}";
};
webRun = pkgs.writeShellApplication {
@@ -114,7 +114,7 @@
readiness_probe.http_get = {
host = "127.0.0.1";
port = webPort;
path = devEnv.BASE_PATH;
path = webBasePath;
};
};
};