coryhouse / coryhouse/javascript-development-environment

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

Abierto
#29 1 comentario 0 reacciones 0 asignados Ver en GitHub
bug
Lenguaje dominante
JavaScript
Estrellas
293
Forks
185
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.