Greenheart / pagecrypt

Password Protected Single Page Applications and HTML files
GNU Affero General Public License v3.0
242 stars 26 forks source link

Replace `vite preview` with `sirv-cli` until HTTP2 header compression issue is fixed #6

Closed Greenheart closed 3 years ago

Greenheart commented 3 years ago

This issue can be avoided by using another preview server.

  1. Add sirv-cli as dev dependency by running npm i -D sirv-cli

  2. Replace vite preview with sirv-cli in the serve npm script

// package.json

"scripts": {
    "serve": "sirv web/build --http2 --key priv.pem --cert cert.pem"
}
Greenheart commented 3 years ago

Will be resolved in pagecrypt@3.0.0