-
Notifications
You must be signed in to change notification settings - Fork 8
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
Calling routes with / in the end will not give response #134
Comments
@syphax-bouazzouni do you know why this is happening ? because when i run the the UI and link it with the API locally it's not working (errors when calling /projects/) and in the api it's doing the redirection so not working) ? or this is just happening locally ? |
it was removed here 4c824a3, in the file init.rb, before |
yeah but by this logic if we call i'll fix the logic so that we redirect to the path without |
I couldn't make it work, as the before behavior is no more supported in the latest version of Sinatra, if you can make it as before, it will be great. And does not do a infinite loop, it is already deployed in AgroPortal API and work, you can test it. |
yeah i'll try to fix it.
I test it in agroportal API and also it's not working, try calling https://data.agroportal.lirmm.fr/ontologies/?apikey=1de0a270-29c5-4dda-b043-7c3580628cd5 |
How to reproduce
Run the api
./bin/ontoportal dev
calling

localhost:9393/ontologies
will work fineCalling

localhost:9393/ontologies/
will not workThe text was updated successfully, but these errors were encountered: