Lint format files. Updated rng function.
This commit is contained in:
1 parent
5bf1792b38
commit
306ca4a435
144 files changed
+962
-626
No files matched your search
+1
-4
@@ -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(/\/+$/, '');
|
||||
|
||||
Reference in new issue
Block a user