Yuki Takei 5 лет назад
Родитель
Сommit
4b31da0ce1
1 измененных файлов с 3 добавлено и 3 удалено
  1. 3 3
      src/server/routes/index.js

+ 3 - 3
src/server/routes/index.js

@@ -39,7 +39,7 @@ module.exports = function(crowi, app) {
   app.use('/api-docs', require('./apiv3/docs')(crowi));
   app.use('/_api/v3', require('./apiv3')(crowi));
 
-  // pre-installation routes
+  // installer
   if (!isInstalled) {
     const installer = require('./installer')(crowi);
     app.get('/installer'               , applicationNotInstalled , installer.index);
@@ -173,7 +173,7 @@ module.exports = function(crowi, app) {
 
   app.get('/share/:linkId', page.showSharedPage);
 
-  app.get('/*/$'                   , applicationInstalled, loginRequired , page.showPageWithEndOfSlash, page.notFound);
-  app.get('/*'                     , applicationInstalled, loginRequired , autoReconnectToSearch, page.showPage, page.notFound);
+  app.get('/*/$'                   , loginRequired , page.showPageWithEndOfSlash, page.notFound);
+  app.get('/*'                     , loginRequired , autoReconnectToSearch, page.showPage, page.notFound);
 
 };