From 7f6d5ef8b678e6e85850743915e32e272c9f5109 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=86=B7=E5=86=B7?= Date: Fri, 6 Apr 2018 18:21:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9IP=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/index.js | 2 +- src/config/env.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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`; }