refactor(frontend): 🔥 Move frontend out of this repository, allow any frontend to be used

Adds a new configuration option to put your frontend's URL
This commit is contained in:
Jesse Wierzbinski 2024-04-14 15:35:56 -10:00
parent ac3ef0ea06
commit a7969f6ebd
No known key found for this signature in database
25 changed files with 35 additions and 938 deletions

View file

@ -120,6 +120,11 @@ export interface Config {
};
};
frontend: {
/** @default "http://localhost:3000" */
url: string;
};
smtp: {
/** @default "smtp.example.com" */
server: string;
@ -427,6 +432,9 @@ export const defaultConfig: Config = {
bait_user_agents: ["curl", "wget"],
},
},
frontend: {
url: "http://localhost:3000",
},
smtp: {
server: "smtp.example.com",
port: 465,