فهرست منبع

Merge pull request #2385 from overleaf/ho-disable-view-precompile

disable view precompile

GitOrigin-RevId: 82e1b8da97af1d9be47834f1687e25f55fe95737
Henry Oswald 7 سال پیش
والد
کامیت
a7567714d1
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      services/web/app/src/infrastructure/Server.js

+ 1 - 1
services/web/app/src/infrastructure/Server.js

@@ -169,7 +169,7 @@ expressLocals(webRouter, privateApiRouter, publicApiRouter)
 if (app.get('env') === 'production') {
   logger.info('Production Enviroment')
   app.enable('view cache')
-  Views.precompileViews(app) // precompile templates
+  // Views.precompileViews(app) // precompile templates
 }
 
 webRouter.use(function(req, res, next) {