.env.production 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. ###
  2. # @Author: renxin renxin0828@163.com
  3. # @Date: 2023-03-31 13:53:57
  4. # @LastEditors: luoyujia 1027671187@qq.com
  5. # @LastEditTime: 2024-10-14 09:29:13
  6. # @FilePath: \thingskit-base\.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. # 普通地址 => 公司
  12. VITE_GLOB_PUBLIC_PATH = ./
  13. # VITE_GLOB_PUBLIC_PATH = /nxLifeLine
  14. # Delete console
  15. VITE_GLOB_DROP_CONSOLE = true
  16. # Whether to enable gzip or brotli compression
  17. # Optional: gzip | brotli | none
  18. # If you need multiple forms, you can use `,` to separate
  19. # VITE_GLOB_BUILD_COMPRESS = 'gzip'
  20. VITE_GLOB_BUILD_COMPRESS = ''
  21. # Whether to delete origin files when using compress, default false
  22. VITE_GLOB_BUILD_COMPRESS_DELETE_ORIGIN_FILE = false
  23. # Basic interface address SPA
  24. # VITE_GLOB_API_URL=http://192.168.2.225/api
  25. #VITE_GLOB_API_URL=http://106.12.170.138:7070
  26. VITE_GLOB_API_URL=http://192.168.2.8:11225/api
  27. # File upload address, optional
  28. # It can be forwarded by nginx or write the actual address directly
  29. VITE_GLOB_UPLOAD_URL=http://192.168.2.225/api/yt/oss/upload
  30. # Interface prefix
  31. VITE_GLOB_API_URL_PREFIX=/yt
  32. # Whether to enable image compression
  33. VITE_GLOB_USE_IMAGEMIN= false
  34. # use pwa
  35. VITE_USE_PWA = false
  36. # Is it compatible with older browsers
  37. VITE_LEGACY = true
  38. # 实时数据的ws地址
  39. VITE_GLOB_WEB_SOCKET = ws://192.168.2.225/api/ws/plugins/telemetry?token=
  40. #configuration
  41. VITE_GLOB_CONFIGURATION = /thingskit-scada
  42. # 大屏设计器
  43. VITE_GLOB_LARGE_DESIGNER = /large-designer
  44. # Content Security Policy
  45. VITE_GLOB_CONTENT_SECURITY_POLICY = false
  46. # Alarm Notify Polling Interval Time
  47. VITE_GLOB_ALARM_NOTIFY_POLLING_INTERVAL_TIME = 60000
  48. # Alarm Notify Auto Close Time Unit is Second
  49. VITE_GLOB_ALARM_NOTIFY_DURATION = 5
  50. # VITE_GLOB_LIGONG_ADMIN=http://221.182.8.141:11031/
  51. VITE_GLOB_LIGONG_ADMIN=http://192.168.2.21:11042/bigscreen/#/
  52. VITE_GLOB_MANAGE=http://192.168.2.21:11043/#/