.env.production 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. ###
  2. # @Author: renxin renxin0828@163.com
  3. # @Date: 2023-03-31 13:53:57
  4. # @LastEditors: Please set LastEditors
  5. # @LastEditTime: 2023-04-09 23:18:10
  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 = 'gzip'
  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://106.12.170.138:7070
  24. # File upload address, optional
  25. # It can be forwarded by nginx or write the actual address directly
  26. VITE_GLOB_UPLOAD_URL=http://192.168.2.225/api/yt/oss/upload
  27. # Interface prefix
  28. VITE_GLOB_API_URL_PREFIX=/yt
  29. # Whether to enable image compression
  30. VITE_GLOB_USE_IMAGEMIN= false
  31. # use pwa
  32. VITE_USE_PWA = false
  33. # Is it compatible with older browsers
  34. VITE_LEGACY = true
  35. # 实时数据的ws地址
  36. VITE_GLOB_WEB_SOCKET = ws://192.168.2.225/api/ws/plugins/telemetry?token=
  37. #configuration
  38. VITE_GLOB_CONFIGURATION = /thingskit-scada
  39. # 大屏设计器
  40. VITE_GLOB_LARGE_DESIGNER = /large-designer
  41. # Content Security Policy
  42. VITE_GLOB_CONTENT_SECURITY_POLICY = false
  43. # Alarm Notify Polling Interval Time
  44. VITE_GLOB_ALARM_NOTIFY_POLLING_INTERVAL_TIME = 60000
  45. # Alarm Notify Auto Close Time Unit is Second
  46. VITE_GLOB_ALARM_NOTIFY_DURATION = 5