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:
@@ -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`));
|
||||
|
||||
Reference in New Issue
Block a user