Skip to content
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

"status":404,"error":"Not Found" #164

Open
senurita opened this issue May 26, 2017 · 0 comments
Open

"status":404,"error":"Not Found" #164

senurita opened this issue May 26, 2017 · 0 comments

Comments

@senurita
Copy link

senurita commented May 26, 2017

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 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant