Skip to content

node.js -> Mongoose C++ HTTP server. How do I call/send a JS module ? #1611

Discussion options

You must be logged in to vote

Your code serves the very same file for every request, when you ask for module.js the server will send page1.html because that is what you are telling it to do.
Please start from a tutorial and work your way up.

Replies: 2 comments 10 replies

Comment options

You must be logged in to vote
6 replies
@scaprile
Comment options

@linuxguy123
Comment options

@linuxguy123
Comment options

@linuxguy123
Comment options

@linuxguy123
Comment options

Comment options

You must be logged in to vote
4 replies
@linuxguy123
Comment options

@scaprile
Comment options

@linuxguy123
Comment options

@linuxguy123
Comment options

Answer selected by scaprile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants