-
Notifications
You must be signed in to change notification settings - Fork 255
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
Swagger UI returns 404 error with pm2 #173
Comments
Single underscore on the end? I believe it should be |
Unfortunately, that was just a typo here on GitHub. |
To clarify, running the contents of
pm2 service (no swagger @
|
Try I had a similar issue with my service working in Rstudio but not in docker. I looked through the code and the default for swagger is Regards |
Oh, great point @WaterworthD . You'll want to set |
Thanks @WaterworthD, That did it! @trestletech are there plans to flesh out the swagger documentation (https://www.rplumber.io/docs/tips-tricks.html#swagger)? |
I am hosting an API with
pm2
on AWS but the Swagger UI page (http://hostname:port/__swagger_/
) returns a 404 error. The Swagger UI shows up just fine when run locally withr$run()
. Is this a limitation ofpm2
hosting? Section 9.4 of theplumber
documentation is unfortunately incomplete so I didn't get far very in trying to figure this out :(The text was updated successfully, but these errors were encountered: