Skip to content

Response on Send: Cannot POST / #19

@mnbrightblade

Description

@mnbrightblade

This does not work on a server within my local home network. I can connect to my server on the 8080 port just fine, but the send button just returns the following:

Cannot POST /

I suspect that socket.io has been updated significantly since this post so the coding is wildly out of date for this project as it looks to not been maintained. I suspect this because the following script tag in index.ejs would never finds that file.

<script src="../../socket.io/socket.io.js"></script>

The correct path to the js file in question is actually the following:

<script src="../node_modules/socket.io/client-dist/socket.io.js"></script>

There's also a script reference to a very old jQuery implementation that I am not sure if that is causing issues also. At the end of the day, this code and the article that featured it should be taken down if it is not being maintained.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions