Commit a8cf6719 authored by chencheng's avatar chencheng

2. Setup proxy, so we can access http://localhost:8000/api/users

parent a4c14847
export default {} export default {
"proxy": {
"/api": {
"target": "http://jsonplaceholder.typicode.com/",
"changeOrigin": true,
"pathRewrite": { "^/api" : "" }
}
},
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment