move all from /api, turn this into backend only ( remove ejs )
All checks were successful
Code quality checks / biome (push) Successful in 8s

This commit is contained in:
creations 2025-05-18 17:48:29 -04:00
parent 8a9499be85
commit 4936ff8978
Signed by: creations
GPG key ID: 8F553AA4320FC711
24 changed files with 14 additions and 98 deletions

View file

@ -18,12 +18,15 @@ const dataType: { type: string; path: string | undefined } = {
: undefined,
};
const frontendUrl: string = process.env.FRONTEND_URL || "http://localhost:8080";
function verifyRequiredVariables(): void {
const requiredVariables = [
"HOST",
"PORT",
"FQDN",
"FRONTEND_URL",
"PGHOST",
"PGPORT",
@ -58,4 +61,4 @@ function verifyRequiredVariables(): void {
export * from "@config/jwt";
export * from "@config/redis";
export { environment, dataType, verifyRequiredVariables };
export { environment, dataType, verifyRequiredVariables, frontendUrl };