Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
jnpf-app-vue3-dj
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zuoliyuan
jnpf-app-vue3-dj
Commits
72d65e05
Commit
72d65e05
authored
Oct 31, 2024
by
zuoliyuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bushu
parent
aa6ef3b7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
utils/define.js
utils/define.js
+1
-2
No files found.
utils/define.js
View file @
72d65e05
/* process.env.NODE_ENV设置生产环境模式 */
/* process.env.NODE_ENV设置生产环境模式 */
// #ifndef MP
// #ifndef MP
const
baseURL
=
process
.
env
.
NODE_ENV
===
"
production
"
?
"
http://172.0.107.76:31004
"
:
"
http://172.0.107.113:8080
"
const
baseURL
=
process
.
env
.
NODE_ENV
===
"
production
"
?
"
http://172.0.107.76:31004
"
:
"
http://172.0.107.113:8080
"
const
webSocketUrl
=
process
.
env
.
NODE_ENV
===
"
production
"
?
"
wss://dj.ccnu.edu.cn/websocket
"
:
const
webSocketUrl
=
process
.
env
.
NODE_ENV
===
"
production
"
?
"
wss://dj.ccnu.edu.cn/websocket
"
:
"
ws://172.0.107.113:8080/websocket
"
"
ws://172.0.107.113:8080/websocket
"
const
report
=
process
.
env
.
NODE_ENV
===
'
development
'
?
'
http://localhost:8200
'
:
baseURL
+
'
/Report
'
const
report
=
process
.
env
.
NODE_ENV
===
'
development
'
?
'
http://localhost:8200
'
:
baseURL
+
'
/Report
'
// #endif
// #endif
...
...
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