mirror of
https://github.com/versia-pub/server.git
synced 2026-03-13 22:09:16 +01:00
fix(build): 🐛 More shenanigans??
This commit is contained in:
parent
075a23124b
commit
6fdc8b2b9a
1 changed files with 6 additions and 6 deletions
|
|
@ -210,12 +210,12 @@ export const configValidator = z.object({
|
||||||
}),
|
}),
|
||||||
s3: z
|
s3: z
|
||||||
.object({
|
.object({
|
||||||
endpoint: z.string().min(1),
|
endpoint: z.string(),
|
||||||
access_key: z.string().min(1),
|
access_key: z.string(),
|
||||||
secret_access_key: z.string().min(1),
|
secret_access_key: z.string(),
|
||||||
region: z.string().optional(),
|
region: z.string().optional(),
|
||||||
bucket_name: z.string().min(1).default("lysand"),
|
bucket_name: z.string().default("lysand"),
|
||||||
public_url: z.string().min(1).url(),
|
public_url: z.string().url(),
|
||||||
})
|
})
|
||||||
.default({
|
.default({
|
||||||
endpoint: "",
|
endpoint: "",
|
||||||
|
|
@ -223,7 +223,7 @@ export const configValidator = z.object({
|
||||||
secret_access_key: "",
|
secret_access_key: "",
|
||||||
region: undefined,
|
region: undefined,
|
||||||
bucket_name: "lysand",
|
bucket_name: "lysand",
|
||||||
public_url: "",
|
public_url: "https://cdn.example.com",
|
||||||
}),
|
}),
|
||||||
validation: z
|
validation: z
|
||||||
.object({
|
.object({
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue