diff --git a/config/index.js b/config/index.js index 2fe8d612..fa648265 100644 --- a/config/index.js +++ b/config/index.js @@ -1,6 +1,6 @@ // see http://vuejs-templates.github.io/webpack for documentation. var path = require('path') -var baseUrl = 'http://218.70.11.118:7777'; +var baseUrl = 'http://127.0.0.1:9999'; module.exports = { build: { env: require('./prod.env'), diff --git a/src/config/env.js b/src/config/env.js index 274f5ce3..7cb08bff 100644 --- a/src/config/env.js +++ b/src/config/env.js @@ -16,7 +16,7 @@ let iconfontVersion = ['567566_lgiis24af44bcsor', '599693_c3ju5pfa6altmx6r']; let iconfontUrl = `//at.alicdn.com/t/font_$key.css`; let codeUrl = `/admin/code` if (process.env.NODE_ENV == 'development') { - baseUrl = `http://218.70.11.118`; + baseUrl = `http://127.0.0.1:9999/`; } else if (process.env.NODE_ENV == 'production') { baseUrl = `http://218.70.11.118`; }