mirror of
https://github.com/versia-pub/server.git
synced 2026-01-26 04:06:01 +01:00
fix(build): 🐛 More shenanigans??
This commit is contained in:
parent
075a23124b
commit
6fdc8b2b9a
|
|
@ -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…
Reference in a new issue