diff options
| author | s-ol <s+removethis@s-ol.nu> | 2022-01-12 09:19:47 +0000 |
|---|---|---|
| committer | s-ol <s+removethis@s-ol.nu> | 2022-01-12 09:33:13 +0000 |
| commit | 7bcd1e44d3f78a4120be295f6a31b57917cee563 (patch) | |
| tree | 97876551f64f7eb0fb78b963d985bc1d1580d7dc /package.json | |
| parent | handle errors while loading more gracefully (diff) | |
| download | fedidag-7bcd1e44d3f78a4120be295f6a31b57917cee563.tar.gz fedidag-7bcd1e44d3f78a4120be295f6a31b57917cee563.zip | |
add instructions and commands for local CORS proxy
Diffstat (limited to 'package.json')
| -rw-r--r-- | package.json | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/package.json b/package.json index 0c0cba0..b026c22 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,8 @@ "name": "fedidag-client", "version": "0.0.1", "scripts": { - "watch": "CORS_ORIGIN=http://localhost:8088 webpack serve -w --host 0.0.0.0", + "start": "CORS_PREFIX=http://localhost:8088 webpack serve -w --host 0.0.0.0", + "cors": "node cors.js", "build": "webpack --config ./webpack.config.js --mode production --progress" }, "babel": { @@ -28,7 +29,6 @@ "classnames": "^2.2.6", "color-hash": "^1.0.3", "core-js": "^3.8.3", - "cors-anywhere": "^0.4.3", "date-fns": "^2.16.1", "jsonld": "^3.3.0", "preact": "^10.5.12", @@ -45,6 +45,7 @@ "html-webpack-plugin": "^4.5.0", "webpack": "^5.17.0", "webpack-cli": "^4.4.0", + "cors-anywhere": "^0.4.3", "webpack-dev-server": "^3.11.2" } } |
