.env.production 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. ###
  2. # @Author: renxin renxin0828@163.com
  3. # @Date: 2023-03-31 13:53:57
  4. # @LastEditors: Please set LastEditors
  5. # @LastEditTime: 2023-07-11 19:28:13
  6. # @FilePath: \thingskit-front\.env.production
  7. # @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
  8. ###
  9. # Whether to open mock
  10. VITE_GLOB_USE_MOCK = false
  11. # public path
  12. VITE_GLOB_PUBLIC_PATH = ./
  13. # Delete console
  14. VITE_GLOB_DROP_CONSOLE = true
  15. # Whether to enable gzip or brotli compression
  16. # Optional: gzip | brotli | none
  17. # If you need multiple forms, you can use `,` to separate
  18. VITE_GLOB_BUILD_COMPRESS = ''
  19. # Whether to delete origin files when using compress, default false
  20. VITE_GLOB_BUILD_COMPRESS_DELETE_ORIGIN_FILE = false
  21. # Basic interface address SPA
  22. # VITE_GLOB_API_URL=http://192.168.2.225/api
  23. # VITE_GLOB_API_URL=http://182.139.38.101:20034/api
  24. # VITE_GLOB_API_URL=http://192.168.49.164:20033/api
  25. VITE_GLOB_API_URL=http://localhost:20034/api
  26. # File upload address, optional
  27. # It can be forwarded by nginx or write the actual address directly
  28. VITE_GLOB_UPLOAD_URL=http://192.168.2.225/api/yt/oss/upload
  29. # Interface prefix
  30. VITE_GLOB_API_URL_PREFIX=/yt
  31. # Whether to enable image compression
  32. VITE_GLOB_USE_IMAGEMIN= false
  33. # use pwa
  34. VITE_USE_PWA = false
  35. # Is it compatible with older browsers
  36. VITE_LEGACY = true
  37. # 实时数据的ws地址
  38. VITE_GLOB_WEB_SOCKET = ws://192.168.2.225/api/ws/plugins/telemetry?token=
  39. #configuration
  40. VITE_GLOB_CONFIGURATION = /thingskit-scada
  41. # 大屏设计器
  42. VITE_GLOB_LARGE_DESIGNER = /large-designer
  43. # Content Security Policy
  44. VITE_GLOB_CONTENT_SECURITY_POLICY = false
  45. # Alarm Notify Polling Interval Time
  46. VITE_GLOB_ALARM_NOTIFY_POLLING_INTERVAL_TIME = 60000
  47. # Alarm Notify Auto Close Time Unit is Second
  48. VITE_GLOB_ALARM_NOTIFY_DURATION = 5
  49. # #大屏链接地址
  50. # VITE_GLOB_BIG_SCREEN = http://192.168.49.163:20044
  51. # #理工项目子页面链接
  52. # VITE_GLOB_LIGONG_ADMIN = http://192.168.49.161:3000
  53. #调试
  54. VITE_GLOB_DEBUGGER_API = "/debuggerApi"
  55. #大屏链接地址
  56. VITE_GLOB_BIG_SCREEN = http://182.139.38.101:20044
  57. #理工项目子页面链接
  58. # VITE_GLOB_LIGONG_ADMIN = http://182.139.38.101:20010/wlw
  59. VITE_GLOB_LIGONG_ADMIN = /wlw
  60. # 理工的页面
  61. VITE_GLOB_LIGONG_PAGE = ['/monitor/points','/device/DeviceList','/sensors','/device/instruction','/warnvideo/warnVideoList']