From 395af241012cc0565a7131987894dd025846468f Mon Sep 17 00:00:00 2001 From: Gabriel Luiz Freitas Almeida Date: Sun, 11 Jun 2023 18:08:35 -0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=80=20chore(vite.config.ts):=20add=20b?= =?UTF-8?q?uild=20route=20to=20apiRoutes=20array=20The=20build=20route=20w?= =?UTF-8?q?as=20added=20to=20the=20apiRoutes=20array=20to=20allow=20the=20?= =?UTF-8?q?frontend=20to=20access=20the=20build=20files.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/frontend/vite.config.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/frontend/vite.config.ts b/src/frontend/vite.config.ts index b1e7bdd66..564343d19 100644 --- a/src/frontend/vite.config.ts +++ b/src/frontend/vite.config.ts @@ -8,6 +8,7 @@ const apiRoutes = [ "^/chat/*", "/version", "/health", + "^/build/*", ]; // Use environment variable to determine the target.