javascript-development-environment icon indicating copy to clipboard operation
javascript-development-environment copied to clipboard

distServer.js and compression order doesn't work for me unless swapped

Open rodsanshare opened this issue 6 years ago • 1 comments
trafficstars

This worked for me, and I think the video shows the same. But Github version shows it swapped. I don't know if this matters or not because I haven't finished the video. And what I mean not working is bundle.js wasn't being compressed.

app.use(compression()); app.use(express.static('dist'));

rodsanshare avatar May 06 '19 02:05 rodsanshare

Thanks for the heads up on this! I'll leave this open until I update the course accordingly.

coryhouse avatar May 06 '19 22:05 coryhouse