Skip to content
← Back to Community
HTML error
Profile icon
Benjo989

https://replit.com/@BOssTDiscord/Donate

uh guys i don't know why my games.html page doesn't work can you guys figure out this problem? (I've tried to do that with Download the App but it still doesn't work)
please check 309 in my index.html file or try to run it and click the Download the App button.
thank you*!*

Answered by Coder100 [earned 5 cycles]
View Answer
Voters
Profile icon
OhGodPlzNo
Profile icon
WeTest
Profile icon
Benjo989
Comments
hotnewtop
Profile icon
Coder100

you never served games.html in your express.
So add something like this:

app.get("/games.html", (_, res) => { res.sendFile(__dirname + "/games.html"); });
Profile icon
Benjo989

thank you!!! @Coder100

Profile icon
Coder100