Move index.html to public dir
This commit is contained in:
parent
a6404e48c2
commit
cacc530f35
|
@ -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="" />',
|
||||||
|
|
Loading…
Reference in New Issue