Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
occloud-server
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
yangjiarong
occloud-server
Commits
0993f438
Commit
0993f438
authored
Aug 05, 2022
by
liuliufashi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
f3a2ed17
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
3 deletions
+6
-3
.env.dev
web-vue-admin/.env.dev
+2
-1
.env.prod
web-vue-admin/.env.prod
+2
-1
dist.zip
web-vue-admin/dist.zip
+0
-0
package.json
web-vue-admin/package.json
+1
-0
request.ts
web-vue-admin/src/utils/request.ts
+1
-1
No files found.
web-vue-admin/.env.dev
View file @
0993f438
VUE_APP_MODE = 'dev'
NODE_ENV=production browserify -g envify -e main.js | uglifyjs -c -m > build.js
VUE_APP_BASE_URL = '/iships/'
VUE_APP_MODE = 'http://
console-api.finekaa.com
/occloud'
VUE_APP_MODE = 'http://
43.142.42.187:8899/
/occloud'
VUE_APP_TEXT = '测试环境'
\ No newline at end of file
web-vue-admin/.env.prod
View file @
0993f438
VUE_APP_MODE = 'prod'
NODE_ENV = 'production'
VUE_APP_BASE_URL = '/iships/'
VUE_APP_MODE = 'http://
43.142.42.187:8899
'
VUE_APP_MODE = 'http://
console-api.finekaa.com/occloud
'
VUE_APP_TEXT = '生产环境'
\ No newline at end of file
web-vue-admin/dist.zip
View file @
0993f438
No preview for this file type
web-vue-admin/package.json
View file @
0993f438
...
...
@@ -5,6 +5,7 @@
"scripts"
:
{
"serve"
:
"vue-cli-service serve --mode dev --open"
,
"build"
:
"vue-cli-service build --mode prod"
,
"build-dev"
:
"vue-cli-service build --mode dev"
,
"lint"
:
"vue-cli-service lint"
,
"dev"
:
"vue-cli-service serve --mode dev --open"
,
"local"
:
"vue-cli-service serve --mode local --open"
...
...
web-vue-admin/src/utils/request.ts
View file @
0993f438
...
...
@@ -45,7 +45,7 @@ instance.interceptors.response.use(
message
.
error
(
'登录超时'
);
localStorage
.
removeItem
(
'session_id'
)
localStorage
.
removeItem
(
'uid'
)
//
window.location.href = window.location.host
window
.
location
.
href
=
window
.
location
.
host
return
Promise
.
reject
(
error
);
}
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment