feat: add custom branding, air-gapped deployment script, and updated self-hosting docs

This commit is contained in:
alam00000
2026-02-14 21:38:58 +05:30
parent 75b1d67fbd
commit 3cf435d59d
38 changed files with 1487 additions and 123 deletions

View File

@@ -293,6 +293,9 @@ export default defineConfig(() => {
context: {
baseUrl: (process.env.BASE_URL || '/').replace(/\/?$/, '/'),
simpleMode: process.env.SIMPLE_MODE === 'true',
brandName: process.env.VITE_BRAND_NAME || '',
brandLogo: process.env.VITE_BRAND_LOGO || '',
footerText: process.env.VITE_FOOTER_TEXT || '',
},
}),
languageRouterPlugin(),
@@ -334,6 +337,7 @@ export default defineConfig(() => {
],
define: {
__SIMPLE_MODE__: JSON.stringify(process.env.SIMPLE_MODE === 'true'),
__BRAND_NAME__: JSON.stringify(process.env.VITE_BRAND_NAME || ''),
},
resolve: {
alias: {