We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This is something we thought about (and couldn't do)
You used:
if (endpoint === "/") { handlers.handleHome(request, response); } else if (endpoint.includes("public")) { handlers.handlePublic(request, response, endpoint); } else if (endpoint.includes("query")) { console.log("This is search endpoint: ", endpoint); handlers.handleCall(request, response, endpoint); } else { response.writeHead(404); response.end("404 Page not found"); }
But for example if someone made a query that included the word 'Public' - would it evaluate correctly?
The text was updated successfully, but these errors were encountered:
think this could work
.startsWith("/public")
Sorry, something went wrong.
No branches or pull requests
This is something we thought about (and couldn't do)
You used:
But for example if someone made a query that included the word 'Public' - would it evaluate correctly?
The text was updated successfully, but these errors were encountered: