mirror of
https://github.com/versia-pub/server.git
synced 2026-03-13 05:49:16 +01:00
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:
parent
ac3ef0ea06
commit
a7969f6ebd
25 changed files with 35 additions and 938 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue