Move index.html to public dir

This commit is contained in:
sepia 2025-07-24 18:52:57 -05:00
parent a6404e48c2
commit cacc530f35
2 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ const app = new Elysia()
const displayName = wsHandler.getPlayerName(playerId); 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 let finalHtml = htmlTemplate
.replace( .replace(
'<meta name="gameId" content="" />', '<meta name="gameId" content="" />',