This website works better with JavaScript.
Home
Help
Sign In
heuzef
/
pinry
mirror of
https://github.com/pinry/pinry.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
44
Wiki
Activity
Browse Source
Feature: Add api proxy for vue-js
pull/169/head
winkidney
5 years ago
committed by
Isaac Bythewood
parent
05fc620642
commit
cf7914e593
1 changed files
with
14 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+14
-0
pinry-spa/vue.config.js
+ 14
- 0
pinry-spa/vue.config.js
View File
@@ -0,0 +1,14 @@
module.exports = {
devServer: {
proxy: {
'/api': {
target: 'http://localhost:8000/',
changeOrigin: true,
ws: true,
pathRewrite: {
'^/api': '',
},
},
},
},
};
Write
Preview
Loading…
Cancel
Save