From 13e6ce74671ccab3daacd547e69fbc5919a063d9 Mon Sep 17 00:00:00 2001 From: FragginWagon Date: Thu, 29 Jan 2026 04:42:32 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20Simplify=20API=20proxy=20rewrite?= =?UTF-8?q?=20rule=20in=20Vite=20configuration?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- code/websites/pokedex.online/vite.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/websites/pokedex.online/vite.config.js b/code/websites/pokedex.online/vite.config.js index 7768ae4..76e86f8 100644 --- a/code/websites/pokedex.online/vite.config.js +++ b/code/websites/pokedex.online/vite.config.js @@ -47,7 +47,7 @@ export default defineConfig({ '/api/gamemaster': { target: 'http://localhost:3001', changeOrigin: true, - rewrite: path => path.replace(/^\/api\/gamemaster/, '/api/gamemaster'), + rewrite: path => path, secure: false } }