Ask coding questions

← Back to all posts not found
MaxwellGeringer (0)

I am trying to make a chat app with, but it isn't working. I believe that the problem is when I link to the file, it isn't found, and if I try to access that file in the web browser, it gives me a "Cannot GET /". Is this a problem with replit, as in another repl I have, and that file works fine.

Answered by Coder100 (18146) [earned 5 cycles]
View Answer
Coder100 (18146)

it has to be http.listen

so can even make that path work.

// wrong
// right
tussiez (1666)

Works for me, click the checkmark under @Coder100's comment to accept it as an answer :)