aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFred Carlsen <fred@sjelfull.no>2018-11-27 22:40:37 +0800
committerFred Carlsen <fred@sjelfull.no>2018-11-27 22:40:37 +0800
commitec12e46e3f52ebb44338c113cecd073979821fae (patch)
treef3a27cdb9586498925a803ea5bee6cb140ddf01a
parent15f05733be45e05974972c80c4fa8437a62633e2 (diff)
downloaddexon-sol-tools-ec12e46e3f52ebb44338c113cecd073979821fae.tar
dexon-sol-tools-ec12e46e3f52ebb44338c113cecd073979821fae.tar.gz
dexon-sol-tools-ec12e46e3f52ebb44338c113cecd073979821fae.tar.bz2
dexon-sol-tools-ec12e46e3f52ebb44338c113cecd073979821fae.tar.lz
dexon-sol-tools-ec12e46e3f52ebb44338c113cecd073979821fae.tar.xz
dexon-sol-tools-ec12e46e3f52ebb44338c113cecd073979821fae.tar.zst
dexon-sol-tools-ec12e46e3f52ebb44338c113cecd073979821fae.zip
Add fix for assertion error to devserver config
-rw-r--r--packages/website/webpack.config.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/packages/website/webpack.config.js b/packages/website/webpack.config.js
index 33d5f648b..b01f6ef2c 100644
--- a/packages/website/webpack.config.js
+++ b/packages/website/webpack.config.js
@@ -85,6 +85,13 @@ const config = {
],
},
disableHostCheck: true,
+ // Fixes assertion error
+ // Source: https://github.com/webpack/webpack-dev-server/issues/1491
+ https: {
+ spdy: {
+ protocols: ['http/1.1']
+ }
+ },
},
};