You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
625 B
20 lines
625 B
// 环境 (development|production)
|
|
export const SCENE = 'development';
|
|
|
|
// 一些特殊的API区分生产测试环境
|
|
export const api = {
|
|
baseUrl: {
|
|
development: 'https://test.tall.wiki',
|
|
production: 'https://www.tall.wiki',
|
|
},
|
|
msgUrl: {
|
|
development: 'wss://test.tall.wiki/websocket/message/v4.0/ws',
|
|
production: 'wss://www.tall.wiki/websocket/message/v4.0/ws',
|
|
},
|
|
upload: {
|
|
development: 'https://test.tall.wiki/filedeal/file/upload/multiple',
|
|
production: 'http://101.201.226.21/filedeal/file/upload/multiple',
|
|
},
|
|
};
|
|
|
|
export const UPLOAD_URL = api.upload[SCENE]; // 多文件上传路径
|
|
|