You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is another variable that is purely for frontend configuration, which can contain HTML code, that will be injected in the `<head>` of the web application. It is useful to add meta tags, or other HTML elements that you want to be present in the head of the page. Note that you cannot use the syntay with backticks '`'.
27
+
### VITE_ENVIRONMENT
28
+
29
+
The `VITE_ENVIRONMENT` variable identifies the deployment environment and is available in both the API (backend) and web (frontend). Valid values are:
30
+
-`local` - Local development environment (default)
31
+
-`dev` - Development environment
32
+
-`staging` - Staging environment
33
+
-`pre-production` - Pre-production environment
34
+
-`production` - Production environment
35
+
36
+
This variable can be used to enable environment-specific features and configurations, such as:
37
+
- Error monitoring and logging services (e.g., Sentry)
38
+
- Analytics and tracking tools
39
+
- Feature flags and conditional behavior
40
+
- Different API endpoints or service configurations
41
+
42
+
While Sentry is not currently set up in this project, the `VITE_ENVIRONMENT` variable provides the foundation for integrating such tools if they become frequently requested features.
43
+
44
+
### VITE_HEAD
45
+
46
+
There is another variable that is purely for frontend configuration, which can contain HTML code, that will be injected in the `<head>` of the web application. It is useful to add meta tags, or other HTML elements that you want to be present in the head of the page. Note that you cannot use the syntay with backticks '`'.
0 commit comments