Open-source status page, incident response and uptime monitoring
TypeScript alertingincident-managementmcpmcp-servermonitoringmonitoring-as-codeobservabilityon-callopen-sourcesrestatus-pagestatuspagesynthetic-monitoringterraformtinybirdtursouptimeuptime-checkeruptime-monitor
remove check (#1721)
Thibault Le Ouayf1ad8e8bbf3e
diff --git a/apps/server/src/libs/middlewares/auth.ts b/apps/server/src/libs/middlewares/auth.tsindex e4ee60e5b..dea347d71 100644--- a/apps/server/src/libs/middlewares/auth.ts+++ b/apps/server/src/libs/middlewares/auth.ts@@ -91,12 +91,12 @@ async function validateKey(key: string): Promise<{*/if (key.startsWith("os_")) {// Validate token format before database query- if (!/^os_[a-f0-9]{32}$/.test(key)) {- return {- result: { valid: false },- error: { message: "Invalid API Key format" },- };- }+ // if (!/^os_[a-f0-9]{32}$/.test(key)) {+ // return {+ // result: { valid: false },+ // error: { message: "Invalid API Key format" },+ // };+ // }// 1. Try custom DB firstconst prefix = key.slice(0, 11); // "os_" (3 chars) + 8 hex chars = 11 total