Lint format files. Updated rng function.

This commit is contained in:
Mike Cao committed 2026-06-02 22:35:07 -07:00
1 parent 5bf1792b38
commit 306ca4a435
144 files changed
+962 -626

No files matched your search

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