(value: string | undefined)
| 97 | .filter((part) => part.length > 0); |
| 98 | |
| 99 | const normalizeAccessTeamDomain = (value: string | undefined): string => |
| 100 | (value ?? "") |
| 101 | .trim() |
| 102 | .replace(/^https?:\/\//, "") |
| 103 | .replace(/\/+$/, ""); |
| 104 | |
| 105 | export const missingCloudflareAccessVars = (env: CloudflareAccessEnv): readonly string[] => { |
| 106 | if (env.ENABLE_DEV_AUTH === "true") return []; |
no test coverage detected