Parcourir la source

优化

wulanhaote
庞东旭 il y a 2 ans
Parent
révision
56f4c1eeef
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. +2
    -2
      config/index.js

+ 2
- 2
config/index.js Voir le fichier

@@ -12,8 +12,8 @@ module.exports = {
proxyTable: {
"/api": {
// 请求的目标主机
target: 'http://116.255.223.226:8081/nsgk_test/',
// target: 'http://localhost:8080/',
//target: 'http://116.255.223.226:8081/nsgk_test/',
target: 'http://localhost:8080/',
changeOrigin: true,
pathRewrite: {
'^/api': ''


Chargement…
Annuler
Enregistrer