Browse Source

update preserved urls

Pouria Ezzati 1 year ago
parent
commit
ef4b756777
1 changed files with 9 additions and 0 deletions
  1. 9 0
      server/utils/utils.js

+ 9 - 0
server/utils/utils.js

@@ -137,8 +137,10 @@ function getStatsPeriods(now) {
 const preservedURLs = [
   "login",
   "logout",
+  "create-admin",
   "404",
   "settings",
+  "admin",
   "stats",
   "signup",
   "banned",
@@ -151,10 +153,17 @@ const preservedURLs = [
   "terms",
   "confirm-link-delete",
   "confirm-link-ban",
+  "confirm-user-delete",
+  "confirm-user-ban",
+  "create-user",
+  "confirm-domain-delete-admin",
+  "confirm-domain-ban",
   "add-domain-form",
   "confirm-domain-delete",
   "get-report-email",
+  "get-support-email",
   "link",
+  "admin",
   "url-password",
   "url-info",
   "api",