gitignore check for config.json too strict

v1.18.x
psychobunny 10 years ago
parent 11fada047e
commit 6f937c59fb

1
.gitignore vendored

@ -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

@ -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
}
}
Loading…
Cancel
Save