Browse Source

replace proxy with proapi.azurewebsites.net/ (#9214)

https://proapi.azurewebsites.net/api/currentuser return the json data
https://preview.pro.ant.design/api/currentuser return 404 page
without this commit, logoin would fail if start the app by "npm run dev"
pull/9264/head
GrantDuan 4 years ago
committed by GitHub
parent
commit
befd4a035d
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      config/proxy.ts

2
config/proxy.ts

@ -16,7 +16,7 @@ export default {
},
test: {
'/api/': {
target: 'https://preview.pro.ant.design',
target: 'https://proapi.azurewebsites.net',
changeOrigin: true,
pathRewrite: { '^': '' },
},

Loading…
Cancel
Save