There was an error while loading. Please reload this page.
1 parent 4c14b89 commit da520c4Copy full SHA for da520c4
1 file changed
ui/vite.config.ts
@@ -2,6 +2,12 @@ import {defineConfig} from 'vite';
2
import react from '@vitejs/plugin-react';
3
import babel from '@rolldown/plugin-babel';
4
5
+try {
6
+ process.loadEnvFile('../gotify-server.env.local');
7
+} catch {
8
+ // file is optional
9
+}
10
+
11
const GOTIFY_SERVER_PORT = process.env.GOTIFY_SERVER_PORT ?? '80';
12
13
function decoratorPreset(options: Record<string, unknown>) {
0 commit comments