Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
dev
/
pingan-life-index-pro
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
a745501e
authored
2023-03-08 12:14:21 +0800
by
simon
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改域名
1 parent
8b4e18ac
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
5 deletions
.env.development
.env.production
src/api/fetch-api.js
.env.development
View file @
a745501
NODE_ENV = 'development'
VUE_APP_TITLE = 'development'
VUE_APP_BASE_URL= 'https://
ow.go.qudone.com
'
VUE_APP_BASE_URL= 'https://
testapi.kdao.xin
'
VUE_APP_CONTENT_ENCRYPT_KEY = 'MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDA1SNj4qiOEmvTkZfp+Gt0UOLTCdxuEqRE+k0fROhgZdN2GmtDg6jcZV/CXKdwQGGdwOYdxEngRQb2K/SXd5Rnu4MkuAoHopDNrBRVqoJNQi6VOv6fvAEzeYivtS9aMM7IvdZuN1QlASCz2vxfUKJ3BaijMQqQE9m0pVm+0BDEfwIDAQAB'
...
...
.env.production
View file @
a745501
NODE_ENV = 'production'
VUE_APP_TITLE = 'dist'
VUE_APP_BASE_URL= 'https://
ow.go.qudone.com
'
VUE_APP_BASE_URL= 'https://
testapi.kdao.xin
'
VUE_APP_CONTENT_ENCRYPT_KEY = 'MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDA1SNj4qiOEmvTkZfp+Gt0UOLTCdxuEqRE+k0fROhgZdN2GmtDg6jcZV/CXKdwQGGdwOYdxEngRQb2K/SXd5Rnu4MkuAoHopDNrBRVqoJNQi6VOv6fvAEzeYivtS9aMM7IvdZuN1QlASCz2vxfUKJ3BaijMQqQE9m0pVm+0BDEfwIDAQAB'
VUE_APP_CONTENT_ENCRYPT_SWITCH = true
...
...
src/api/fetch-api.js
View file @
a745501
...
...
@@ -52,9 +52,6 @@ function Toast(msg) {
// console.log(process.env);
let
baseURL
=
process
.
env
.
VUE_APP_BASE_URL
;
// baseURL = "http://localhost:9101";
// if (window.location.href.indexOf("192.168") != -1) {
// baseURL = "https://ow.go.qudone.com";
// }
const
axios
=
axiosIns
.
create
({
baseURL
:
baseURL
,
timeout
:
10000
...
...
Please
register
or
sign in
to post a comment