.env 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. VITE_BASE_URL=/
  2. VITE_APP_TITLE=ObserveAdmin
  3. VITE_APP_DESC=ObserveAdmin is a fresh and elegant admin template
  4. # the prefix of the icon name
  5. VITE_ICON_PREFIX=icon
  6. # the prefix of the local svg icon component, must include VITE_ICON_PREFIX
  7. # format {VITE_ICON_PREFIX}-{local icon name}
  8. VITE_ICON_LOCAL_PREFIX=icon-local
  9. # auth route mode: static | dynamic
  10. VITE_AUTH_ROUTE_MODE=static
  11. # static auth route home
  12. VITE_ROUTE_HOME=home
  13. # default menu icon
  14. VITE_MENU_ICON=mdi:menu
  15. # whether to enable http proxy when is dev mode
  16. VITE_HTTP_PROXY=N
  17. # vue-router mode: hash | history | memory
  18. VITE_ROUTER_HISTORY_MODE=history
  19. # success code of backend service, when the code is received, the request is successful
  20. VITE_SERVICE_SUCCESS_CODE=0000
  21. # logout codes of backend service, when the code is received, the user will be logged out and redirected to login page
  22. VITE_SERVICE_LOGOUT_CODES=8888,8889
  23. # modal logout codes of backend service, when the code is received, the user will be logged out by displaying a modal
  24. VITE_SERVICE_MODAL_LOGOUT_CODES=7777,7778
  25. # token expired codes of backend service, when the code is received, it will refresh the token and resend the request
  26. VITE_SERVICE_EXPIRED_TOKEN_CODES=9999,9998
  27. # when the route mode is static, the defined super role
  28. VITE_STATIC_SUPER_ROLE=R_SUPER
  29. # Used to differentiate storage across different domains
  30. VITE_STORAGE_PREFIX=SOY_