mirror of
https://github.com/versia-pub/server.git
synced 2026-03-13 13:59:16 +01:00
refactor(api): 🔥 Remove Glitch-FE explicit support
This commit is contained in:
parent
df466ecaa0
commit
bec60fbf96
12 changed files with 8 additions and 691 deletions
|
|
@ -182,17 +182,6 @@ export const configValidator = z.object({
|
|||
.object({
|
||||
enabled: z.boolean().default(true),
|
||||
url: zUrl.default("http://localhost:3000"),
|
||||
glitch: z
|
||||
.object({
|
||||
enabled: z.boolean().default(false),
|
||||
assets: z.string().min(1).default("glitch"),
|
||||
server: z.array(zUrl).default([]),
|
||||
})
|
||||
.default({
|
||||
enabled: false,
|
||||
assets: "glitch",
|
||||
server: [],
|
||||
}),
|
||||
routes: z
|
||||
.object({
|
||||
home: zUrlPath.default("/"),
|
||||
|
|
@ -213,11 +202,6 @@ export const configValidator = z.object({
|
|||
.default({
|
||||
enabled: true,
|
||||
url: "http://localhost:3000",
|
||||
glitch: {
|
||||
enabled: false,
|
||||
assets: "glitch",
|
||||
server: [],
|
||||
},
|
||||
settings: {},
|
||||
}),
|
||||
smtp: z
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue