-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
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
Handling request when using a location #70
Comments
I'm starting to think the issue is somewhere else, I can't get the 404 error when requesting a file. The process loop for a while and end up saying I think you should use a proper logging method to debug this kind of issue. |
Hi... I found a error in |
@ghost the intent of the code is to run it from a working directory, I think this is quite common. So not a bug. Since the original issue was resolved, this can be closed I think. |
Hi,
Correct me if I'm wrong but the callback method of the server is not called if the requested file does not exist and a location is specified?
I'm trying to implement a webserver having a Rest API . How can I use my callback function for
request:path()
matching/api/
and serving html files otherwise? (apart from rewriting the Handler processRequest function?)The text was updated successfully, but these errors were encountered: