Skip to content

Node.js based forum software built for the modern web

removed non existant paths from templates/config.json, added starts with to regexes

Baris Usakli79de3976bf01
diff --git a/public/templates/config.json b/public/templates/config.json
index fd65bf3773..f41ecdaf19 100644
--- a/public/templates/config.json
+++ b/public/templates/config.json
@@ -15,19 +15,17 @@
"^admin/gplus.*": "admin/gplus",
"^admin/motd/?$": "admin/motd",
"^admin/groups/?$": "admin/groups",
- "users/sort-posts": "users",
- "users/latest": "users",
- "users/sort-reputation": "users",
- "users/search": "users",
- "user.*edit": "accountedit",
- "user.*following": "following",
- "user.*followers": "followers",
- "user.*settings": "accountsettings",
- "user.*favourites": "favourites",
- "user/.*": "account",
+ "^users/sort-posts": "users",
+ "^users/latest": "users",
+ "^users/sort-reputation": "users",
+ "^users/search": "users",
+ "^user.*edit": "accountedit",
+ "^user.*following": "following",
+ "^user.*followers": "followers",
+ "^user.*settings": "accountsettings",
+ "^user.*favourites": "favourites",
+ "^user/.*": "account",
- "popular": "category",
- "active": "category",
"reset/.*": "reset_code"
},
"force_refresh": {