Route BASE_URL through env module to prevent callback URL drift #14

Merged
matt merged 1 commit from mailship-lap-inconsistent-env-access-server-ts-reads--747 into main 2026-09-16 13:23:34 +00:00

1 commit

Author SHA1 Message Date
Agent
a0a284b0a3 Route BASE_URL through env module instead of reading process.env directly
All checks were successful
CI / checks (pull_request) Successful in 33s
server.ts was building callback URLs from raw process.env.BASE_URL at
lines 175 and 217, while env.ts already validates and exports BASE_URL
as a typed constant. This adds BASE_URL to the import from ./env.js and
replaces both direct process.env references so the callback URL cannot
drift from the validated value.
2026-09-14 16:08:40 -04:00