From 2039a4679677b9942faebc62eca1eb36f240b293 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Thu, 19 Dec 2024 20:38:46 +0300 Subject: vnext: run development server on port 8081 --- package.json | 2 +- 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 }] } -- cgit v1.2.3