mirror of
https://github.com/Dvorinka/Trackeep.git
synced 2026-06-03 20:12:58 +00:00
083373a24f
- Add Redis architecture implementation - Update browser extension functionality - Clean up deprecated files and documentation - Enhance backend handlers for auth, messages, search - Add new configuration options and settings - Update Docker and deployment configurations
37 lines
1.3 KiB
HTML
37 lines
1.3 KiB
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<link rel="icon" type="image/png" href="/trackeepfavi_bg.png" />
|
|
<link rel="icon" type="image/x-icon" href="/trackeepfavi_bg.png" />
|
|
<link rel="apple-touch-icon" href="/trackeepfavi_bg.png" />
|
|
<link rel="manifest" href="/manifest.json" />
|
|
<meta name="theme-color" content="#39b9ff" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<title>Trackeep - Your Self-Hosted Productivity & Knowledge Hub</title>
|
|
<script>
|
|
// Runtime environment variable injection
|
|
window.ENV = {
|
|
VITE_DEMO_MODE: 'VITE_DEMO_MODE_PLACEHOLDER',
|
|
VITE_API_URL: 'VITE_API_URL_PLACEHOLDER'
|
|
};
|
|
|
|
// Make them available to import.meta.env by overriding it
|
|
if (typeof window !== 'undefined') {
|
|
window.importMetaEnv = {
|
|
VITE_DEMO_MODE: window.ENV.VITE_DEMO_MODE,
|
|
VITE_API_URL: window.ENV.VITE_API_URL
|
|
};
|
|
}
|
|
|
|
// Log for debugging
|
|
console.log('[Env Injection] window.ENV:', window.ENV);
|
|
console.log('[Env Injection] Demo mode should be:', window.ENV.VITE_DEMO_MODE);
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<div id="root"></div>
|
|
<script type="module" src="/src/index.tsx"></script>
|
|
</body>
|
|
</html>
|