app.use(express.static(__dirname + '/applications/production/dist/'));
app.use(compression())
js files/static files not compressing without use of this app.get('', (req, res) => {res.sendFile(__dirname + 'filepath')})- why?
app.use(express.static(__dirname + '/applications/production/dist/'));
app.use(compression())
js files/static files not compressing without use of this app.get('', (req, res) => {res.sendFile(__dirname + 'filepath')})- why?