-
-
Notifications
You must be signed in to change notification settings - Fork 7
Description
Describe the bug
The docs link leads to a 404: https://batch.openaddresses.io/docs
To Reproduce
Steps to reproduce the behavior:
- Go to https://batch.openaddresses.io/data
- Click on the question mark icon
- Observe 404 page
Expected behavior
Expected a docs page.
Desktop (please complete the following information):
- OS: Windows 10
- Browser: Chrome
- Version: Version 116.0.5845.142 (Official Build) (64-bit)
Additional context
This was previously filed in a different repo (openaddresses/openaddresses#6669), opening here since this is more applicable.
From my investigation I found that the nginx config specifies that the link should be /docs/
Line 19 in 4af5207
| location /docs/ { |
And if we go to the route (https://batch.openaddresses.io/docs/) we see a different 404 page, which indicates the nginx filter gets hit:

But I also see that there's a route to /docs, without the slash.
Line 141 in 4af5207
| app.use('/docs', SwaggerUI.serve, SwaggerUI.setup(schema.docs.base)); |
My guess is that the nginx override is messing with the proper path.
Also, I'm thinking this broke with 1967934, which switched to Swagger. cc @ingalls
