From 6f937c59fbd7fb9c3f61a9417843a237da99fe6a Mon Sep 17 00:00:00 2001 From: psychobunny Date: Wed, 24 Sep 2014 21:48:35 -0400 Subject: [PATCH] gitignore check for config.json too strict --- .gitignore | 1 + src/views/config.json | 25 +++++++++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 src/views/config.json diff --git a/.gitignore b/.gitignore index 413b97ed3a..ed02dd17a1 100644 --- a/.gitignore +++ b/.gitignore @@ -4,6 +4,7 @@ sftp-config.json config.json public/src/nodebb.min.js public/config.json +!src/views/config.json public/css/*.css *.sublime-project *.sublime-workspace diff --git a/src/views/config.json b/src/views/config.json new file mode 100644 index 0000000000..6967dc6bd8 --- /dev/null +++ b/src/views/config.json @@ -0,0 +1,25 @@ +{ + "custom_mapping": { + "^\/?$": "home", + "^admin?$": "admin/index", + "^users/sort-posts": "users", + "^users/latest": "users", + "^users/sort-reputation": "users", + "^users/search": "users", + "^user.*edit": "account/edit", + "^user.*following": "account/following", + "^user.*followers": "account/followers", + "^user.*settings": "account/settings", + "^user.*favourites": "account/favourites", + "^user.*posts": "account/posts", + "^user.*topics": "account/topics", + "^user/.*": "account/profile", + "^reset/.*": "reset_code", + "^tags/.*": "tag", + "^groups/?$": "groups/list", + "^groups/.*": "groups/details" + }, + "force_refresh": { + "logout": true + } +}