aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/utils.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/utils.js')
-rw-r--r--src/lib/utils.js9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/lib/utils.js b/src/lib/utils.js
index f2d78ee8..179aecc6 100644
--- a/src/lib/utils.js
+++ b/src/lib/utils.js
@@ -82,14 +82,7 @@ export function reverseFormat(val, locale) {
return Number.isNaN(reversedVal) ? 0 : +reversedVal;
}
-export let protectedRoutes = [
- /customers/,
- /dashboard/,
- /settings/,
- /payments/,
- /\/ln\//,
- /request/
-];
+export let protectedRoutes = [/customers/, /dashboard/, /settings/, /payments/, /request/];
export const success = (m) => {
toast.pop();