diff options
author | Vitaly Takmazov | 2024-12-19 20:38:46 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2024-12-19 20:50:05 +0300 |
commit | 2039a4679677b9942faebc62eca1eb36f240b293 (patch) | |
tree | d25e0a2aa6f48f78d343551365e8b2601e6eda1b | |
parent | 5255efe2e8e7990d02c6db64e56a80b57fb1a6ff (diff) |
vnext: run development server on port 8081
-rw-r--r-- | package.json | 2 | ||||
-rw-r--r-- | vnext/webpack.config.js | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/package.json b/package.json index b2afdae0d..fda014c04 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "vnext:build": "webpack -c vnext/webpack.config.js --mode production --progress", "vnext:build:ssr": "npm run vnext:build && webpack -c vnext/server/webpack.config.js --mode production", "vnext:start-ssr": "npm run vnext:build && webpack -c vnext/server/webpack.config.js --mode development && cross-env DATABASE_URL=sqlite:juick.db DEBUG=http node --enable-source-maps public/server.js", - "vnext:start": "webpack serve -c vnext/webpack.config.js --mode development", + "vnext:start": "webpack serve -c vnext/webpack.config.js --mode development --port 8081", "vnext:lint": "eslint vnext" }, "repository": { diff --git a/vnext/webpack.config.js b/vnext/webpack.config.js index 12c6e75c3..99755c70e 100644 --- a/vnext/webpack.config.js +++ b/vnext/webpack.config.js @@ -91,10 +91,9 @@ module.exports = (env, argv) => { }, proxy: [{ context: ['/api'], - target: 'http://localhost:8080', + target: 'http://localhost:8081', router: () => 'https://juick.com', secure: false, - withCredentials: true, changeOrigin: true }] } |