When pointing to a Node app, page doesn't load correctly without a trailing slash.

Not applicable

We currently have a node app that is hosting our swagger documentation up on two servers and were trying to use a proxy to put the load balance the app at http://<ip>/docs . Everything works great with the app with the exception that if you don't put a trailing "/" after docs in the url, it doesn't load the script and link tags. I have the routing set up in express to strict mode, where it should be forcing the trailing slash, which works for all the routes except for the base "/docs" path. We are currently using Private Cloud version 15.01.05.

When tracing successful vs. unsuccessful loads, the unsuccessful show one 200 response for "/docs" and successful calls show about 10 200 responses, one for each script or link being loaded. Any thoughts on how to fix this would be great.

Thanks!

1 1 458
1 REPLY 1

Brian, sorry, this question seems to have been completely missed. Have you solved the issue? Or is this still an outstanding question. @Brian Van Winkle