0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-24 20:42:43 +00:00

Merge pull request #1099 from naturalcrit/optimize-page-load

Fix broken API calls
This commit is contained in:
Trevor Buckner
2020-11-12 17:31:07 -05:00
committed by GitHub

View File

@@ -10,7 +10,8 @@ const GoogleActions = require('./server/googleActions.js');
// Serve brotli-compressed static files if available
app.use('/', expressStaticGzip(`${__dirname}/build`, {
enableBrotli : true,
orderPreference : ['br']
orderPreference : ['br'],
index : false
}));
//app.use(express.static(`${__dirname}/build`));