From 31d8b642f2000ca0c97ccaef62042bda1f2248e7 Mon Sep 17 00:00:00 2001 From: Matthias Fechner Date: Fri, 3 Jan 2025 23:04:40 +0200 Subject: [PATCH] let vite listen not only on localhost so it can be started in a WSL2 container and can be accessed for the windows host. This is required to use/test plugins with gotify --- ui/vite.config.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/ui/vite.config.ts b/ui/vite.config.ts index 4e8950069..4564059ae 100644 --- a/ui/vite.config.ts +++ b/ui/vite.config.ts @@ -64,6 +64,7 @@ export default defineConfig({ //global: {}, }, server: { + host: '0.0.0.0', proxy: { '/api': { target: 'http://localhost:3000/',