move all from /api, turn this into backend only ( remove ejs )
All checks were successful
Code quality checks / biome (push) Successful in 8s
All checks were successful
Code quality checks / biome (push) Successful in 8s
This commit is contained in:
parent
8a9499be85
commit
4936ff8978
24 changed files with 14 additions and 98 deletions
|
@ -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 };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue