.env 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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=dynamic
  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. VITE_SERVICE_SUCCESS_CODE=200
  22. # logout codes of backend service, when the code is received, the user will be logged out and redirected to login page
  23. # VITE_SERVICE_LOGOUT_CODES=8888,8889
  24. VITE_SERVICE_LOGOUT_CODES=401
  25. # modal logout codes of backend service, when the code is received, the user will be logged out by displaying a modal
  26. # VITE_SERVICE_MODAL_LOGOUT_CODES=7777,7778
  27. VITE_SERVICE_MODAL_LOGOUT_CODES=401
  28. # token expired codes of backend service, when the code is received, it will refresh the token and resend the request
  29. VITE_SERVICE_EXPIRED_TOKEN_CODES=9999,9998
  30. # when the route mode is static, the defined super role
  31. VITE_STATIC_SUPER_ROLE=R_SUPER
  32. # Used to differentiate storage across different domains
  33. VITE_STORAGE_PREFIX=SOY_