From 8663510d28a43c90c7313040a1eba896be0df570 Mon Sep 17 00:00:00 2001 From: Bjarke Madsen <bjarke@nordu.net> Date: Wed, 12 Feb 2025 11:12:11 +0100 Subject: [PATCH] listen on all interfaces for dev server, useful for testing with smartphone --- compendium-frontend/vite.config.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/compendium-frontend/vite.config.ts b/compendium-frontend/vite.config.ts index 64fd3b70..325058f7 100644 --- a/compendium-frontend/vite.config.ts +++ b/compendium-frontend/vite.config.ts @@ -28,6 +28,7 @@ export default defineConfig({ base: isProduction ? '/static/' : '/', server: { port: 4000, + host: '::', proxy: { '/api': { target: 'http://127.0.0.1:5000', -- GitLab