mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Merge pull request #976 from sharelatex/ja-disable-blog-in-v2
Don't enable legacy blog in v2
This commit is contained in:
commit
a35b3eea7f
1 changed files with 3 additions and 2 deletions
|
@ -90,8 +90,9 @@ module.exports = class Router
|
||||||
if Settings.enableSubscriptions
|
if Settings.enableSubscriptions
|
||||||
webRouter.get '/user/bonus', AuthenticationController.requireLogin(), ReferalController.bonus
|
webRouter.get '/user/bonus', AuthenticationController.requireLogin(), ReferalController.bonus
|
||||||
|
|
||||||
webRouter.get '/blog', BlogController.getIndexPage
|
if !Settings.overleaf?
|
||||||
webRouter.get '/blog/*', BlogController.getPage
|
webRouter.get '/blog', BlogController.getIndexPage
|
||||||
|
webRouter.get '/blog/*', BlogController.getPage
|
||||||
|
|
||||||
webRouter.get '/user/activate', UserPagesController.activateAccountPage
|
webRouter.get '/user/activate', UserPagesController.activateAccountPage
|
||||||
AuthenticationController.addEndpointToLoginWhitelist '/user/activate'
|
AuthenticationController.addEndpointToLoginWhitelist '/user/activate'
|
||||||
|
|
Loading…
Reference in a new issue