We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0973ea5 commit 6722777Copy full SHA for 6722777
.gitignore
@@ -19,3 +19,5 @@ yarn-error.log*
19
*.njsproj
20
*.sln
21
*.sw?
22
+
23
+.env
now.json
@@ -0,0 +1,8 @@
1
+{
2
+ "routes": [
3
+ {
4
+ "src": "/api/(.*)",
5
+ "dest": "https://openrank.herokuapp.com/api/$1"
6
+ }
7
+ ]
8
+}
vue.config.js
@@ -2,7 +2,9 @@ module.exports = {
devServer: {
proxy: {
'/api': {
- target: 'http://localhost:8000',
+ target: 'https://localhost:8000',
+ ws: true,
+ changeOrigin: true,
headers: {
9
Connection: 'keep-alive',
10
},
0 commit comments