Open rodsanshare opened 5 years ago
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'));
Thanks for the heads up on this! I'll leave this open until I update the course accordingly.
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'));