chore: knip fix (#34481)

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit is contained in:
Stephen Zhou
2026-04-02 23:03:42 +08:00
committed by GitHub
parent 985b41c40b
commit 36e840cd87
403 changed files with 475 additions and 3679 deletions

View File

@@ -8,7 +8,7 @@ type DevProxyEnv = Partial<Record<
string
>>
export type DevProxyTargets = {
type DevProxyTargets = {
consoleApiTarget: string
publicApiTarget: string
}
@@ -55,7 +55,7 @@ export const isAllowedDevOrigin = (origin?: string | null) => {
}
}
export const applyCorsHeaders = (headers: Headers, origin?: string | null) => {
const applyCorsHeaders = (headers: Headers, origin?: string | null) => {
if (!isAllowedDevOrigin(origin))
return