fix self-hosting auth issue with API_URL missing

This commit is contained in:
Francis Cao committed 2026-06-04 10:19:23 -07:00
1 parent a52f32604a
commit 8473dea1ca
3 files changed
+13 -4

No files matched your search

+1 -1
View File
@@ -3,7 +3,7 @@ type ApiUrlOptions = {
basePath?: string;
};
const APP_ROUTE_PATTERNS: RegExp[] = [/^\/auth(\/|$)/, /^\/config(\/|$)/];
const APP_ROUTE_PATTERNS: RegExp[] = [/^\/config(\/|$)/];
function trimTrailingSlash(value: string) {
return value.replace(/\/+$/, '');