You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
Swagger docs is running fine on my local machine (localhost:3000) but when i deployed it on my ubuntu server , I ran into 404 error while running swagger api-docs.json , also the thing that surprised me was running individual api from the browser is fetching correct results for ex :- Server_IP/restaurants.json is fetching the results but Server_IP/api-docs.json is giving 404 error.
I have checked my basepath in config/initializer/swagger-docs.rb , and in api-docs.json both are pointing to my server IP .
The text was updated successfully, but these errors were encountered:
Hi,
Swagger docs is running fine on my local machine (localhost:3000) but when i deployed it on my ubuntu server , I ran into 404 error while running swagger api-docs.json , also the thing that surprised me was running individual api from the browser is fetching correct results for ex :- Server_IP/restaurants.json is fetching the results but Server_IP/api-docs.json is giving 404 error.
I have checked my basepath in config/initializer/swagger-docs.rb , and in api-docs.json both are pointing to my server IP .
The text was updated successfully, but these errors were encountered: