feat: 可视化大屏展示
This commit is contained in:
@@ -0,0 +1,57 @@
|
||||
/**
|
||||
* 鹰眼管控平台 - 开发代理配置
|
||||
*/
|
||||
const GATEWAY = process.env.GATEWAY_ORIGIN || 'http://localhost:9900';
|
||||
const SRS_SERVER = process.env.SRS_SERVER || 'http://220.205.16.27:8024';
|
||||
|
||||
export default {
|
||||
dev: {
|
||||
// API 请求代理
|
||||
'/api-': {
|
||||
target: GATEWAY,
|
||||
changeOrigin: true,
|
||||
},
|
||||
// 3D模型CDN代理
|
||||
'/goflymodel': {
|
||||
target: 'https://minicdn.goflytec.com',
|
||||
changeOrigin: true,
|
||||
secure: false,
|
||||
},
|
||||
// SRS WebRTC WHEP 视频流代理
|
||||
'/rtc': {
|
||||
target: SRS_SERVER,
|
||||
changeOrigin: true,
|
||||
secure: false,
|
||||
},
|
||||
// SRS 登录认证接口代理
|
||||
'/terraform': {
|
||||
target: SRS_SERVER,
|
||||
changeOrigin: true,
|
||||
secure: false,
|
||||
},
|
||||
},
|
||||
test: {
|
||||
'/api-': {
|
||||
target: GATEWAY,
|
||||
changeOrigin: true,
|
||||
ws: true,
|
||||
},
|
||||
'/goflymodel': {
|
||||
target: 'https://minicdn.goflytec.com',
|
||||
changeOrigin: true,
|
||||
secure: false,
|
||||
},
|
||||
},
|
||||
pre: {
|
||||
'/api-': {
|
||||
target: GATEWAY,
|
||||
changeOrigin: true,
|
||||
ws: true,
|
||||
},
|
||||
'/goflymodel': {
|
||||
target: 'https://minicdn.goflytec.com',
|
||||
changeOrigin: true,
|
||||
secure: false,
|
||||
},
|
||||
},
|
||||
} as const;
|
||||
Reference in New Issue
Block a user