feat: 新增需求
This commit is contained in:
@@ -1,17 +1,17 @@
|
||||
/* process.env.NODE_ENV设置生产环境模式 */
|
||||
// #ifndef MP
|
||||
const baseURL = process.env.NODE_ENV === "production" ? "https://app.java.jnpfsoft.com" : "http://localhost:30000"
|
||||
const baseURL = process.env.NODE_ENV === "production" ? "https://app.java.jnpfsoft.com" : "http://10.28.117.48:48080"
|
||||
const webSocketUrl = process.env.NODE_ENV === "production" ? "wss://app.java.jnpfsoft.com/websocket" :
|
||||
"ws://localhost:30000/api/message/websocket"
|
||||
const report = process.env.NODE_ENV === 'production' ? 'https://java.jnpfsoft.com/Report' : 'http://localhost:8200'
|
||||
const pcURL = process.env.NODE_ENV === 'production' ? 'https://java.jnpfsoft.com' : 'http://localhost:3000'
|
||||
"ws://10.28.117.183:30000/api/message/websocket"
|
||||
const report = process.env.NODE_ENV === 'production' ? 'https://java.jnpfsoft.com/Report' : 'http://10.28.117.183:8200'
|
||||
const pcURL = process.env.NODE_ENV === 'production' ? 'https://java.jnpfsoft.com' : 'http://10.28.117.183:3000'
|
||||
// #endif
|
||||
|
||||
// #ifdef MP
|
||||
const baseURL = "http://localhost:30000"
|
||||
const webSocketUrl = "ws://localhost:30000/api/message/websocket"
|
||||
const report = 'http://localhost:8200'
|
||||
const pcURL = 'http://localhost:3000'
|
||||
const baseURL = "http://10.28.117.48:30000"
|
||||
const webSocketUrl = "ws://10.28.117.183:30000/api/message/websocket"
|
||||
const report = 'http://10.28.117.183:8200'
|
||||
const pcURL = 'http://10.28.117.183:3000'
|
||||
// #endif
|
||||
|
||||
const define = {
|
||||
|
||||
Reference in New Issue
Block a user