Commit a33e365c authored by Vinci Rufus's avatar Vinci Rufus Committed by GitHub

get the http2 example to work (#10470)

* copy only the necessary files during stage 2 in multi-stage.

* update readme

* adds  compress:false to prevent the server from crashing while running http2

* moving the config to next.config

* link to the issue

* fix grammatical error

* Update examples/with-http2/next.config.js
Co-Authored-By: 's avatarJan Potoms <2109932+Janpot@users.noreply.github.com>
Co-authored-by: 's avatarJan Potoms <2109932+Janpot@users.noreply.github.com>
Co-authored-by: 's avatarJoe Haddad <timer150@gmail.com>
parent e382997e
module.exports = {
/* this needs to be set to false until a bug in the compression npm module gets fixed.
reference: https://github.com/expressjs/compression/issues/122
*/
compress: false,
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment