aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package.json2
-rw-r--r--vnext/webpack.config.js3
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
}]
}