From 30320c11c5486af0f31dae5f2a3bfc32e806fb50 Mon Sep 17 00:00:00 2001 From: Chris Lindsay Date: Wed, 27 Dec 2023 21:14:13 -0500 Subject: [PATCH] Update index.js --- frontend/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/index.js b/frontend/index.js index 17abbdc008..018e5d161e 100644 --- a/frontend/index.js +++ b/frontend/index.js @@ -16,6 +16,7 @@ Bun.serve({ return new Response(file); }, error() { + // If error, route to index.html let filePath = BASE_PATH + "/index.html"; const file = Bun.file(filePath); return new Response(file);