feat: make seq api_key optional

This commit is contained in:
zkldi
2024-04-16 17:35:17 +01:00
parent 1a30c8f130
commit 4f0b0f081a
+2 -2
View File
@@ -117,7 +117,7 @@ export interface TachiServerConfig {
LOGGER_CONFIG: {
LOG_LEVEL: "crit" | "debug" | "error" | "info" | "severe" | "verbose" | "warn";
SEQ?: {
API_KEY: string;
API_KEY?: string;
URL: string;
};
LOKI?: {
@@ -224,7 +224,7 @@ const err = p(config, {
p.isIn("debug", "verbose", "info", "warn", "error", "severe", "crit")
),
SEQ: p.optional({
API_KEY: "string",
API_KEY: "*string",
URL: "string",
}),
LOKI: p.optional({