Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
rodsanshare opened this issue May 6, 2019 · 1 comment
Labels

Comments

@rodsanshare
Copy link

rodsanshare commented May 6, 2019

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'));

@coryhouse coryhouse added the bug label May 6, 2019
@coryhouse
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants