diff --git a/index.html b/public/index.html similarity index 100% rename from index.html rename to public/index.html diff --git a/src/index.ts b/src/index.ts index 710a260..b3239f7 100644 --- a/src/index.ts +++ b/src/index.ts @@ -70,7 +70,7 @@ const app = new Elysia() const displayName = wsHandler.getPlayerName(playerId); - const htmlTemplate = await Bun.file('./index.html').text(); + const htmlTemplate = await Bun.file('./public/index.html').text(); let finalHtml = htmlTemplate .replace( '',