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
feat: add app router and build info endpoint (#78)
* feat: add app router and build info endpoint- Introduced a new router for application-related endpoints, including a `/build-info` endpoint to serve current build information from a generated JSON file.- Implemented a Vite plugin to generate `build-info.json` during the build process, containing a unique build hash and timestamp.- Added a `BuildVersionCheck` component in the frontend to monitor build version changes and refresh the application when a new version is detected.- Updated existing routers to include necessary imports for the new functionality.* refactor: remove runtime config generation and implement API for app configuration- Removed the runtime configuration generation from the startup script, streamlining the application startup process.- Added a new endpoint `/config` in the app router to serve application configuration, fetching values from environment variables.- Updated the frontend to retrieve configuration dynamically from the new API instead of relying on a static runtime config file.- Refactored the PostHog initialization to use the fetched configuration, improving analytics setup.