VimConfig.ts 916 B

1234567891011121314151617181920212223242526272829303132333435
  1. interface VimConfigInf {
  2. host: string;
  3. httProtocol: string;
  4. wsProtocol: string;
  5. httPort: number;
  6. wsPort: number;
  7. client: string;
  8. soundPath: string;
  9. facesPath: string;
  10. openUniPush: boolean;
  11. uploadType: string
  12. }
  13. const VimConfig: VimConfigInf = {
  14. //host: "10.16.4.187",
  15. //host: "192.168.1.118",
  16. //host: "br1.qihg091ew.com",
  17. //host: "203.175.169.43",//生产服务器
  18. host: "203.175.169.52",//测试服务器
  19. httProtocol: "http",
  20. wsProtocol: "ws",
  21. httPort: 8080,
  22. wsPort: 9326,
  23. // 客户端类型
  24. client: 'mobile',
  25. // 音频路径
  26. soundPath: '/static/Message.mp3',
  27. // 表情路径
  28. facesPath: '/static/faces/',
  29. //是否开启uniPush
  30. openUniPush: true,
  31. // 上传类型 common | minio 如果希望使用minio存储文件,请将uploadType设置为minio, common 为本地存储 (测试服务器不支持minio)
  32. uploadType: 'common'
  33. };
  34. export default VimConfig;