Initial commit
This commit is contained in:
11
wechat-mini-program/config/env.js
Normal file
11
wechat-mini-program/config/env.js
Normal file
@@ -0,0 +1,11 @@
|
||||
const env = 'development'
|
||||
const configs = {
|
||||
development: {
|
||||
baseUrl: 'http://192.168.5.95:8000/api'
|
||||
},
|
||||
production: {
|
||||
baseUrl: 'https://your-domain.example.com/api'
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = configs[env]
|
||||
Reference in New Issue
Block a user