Open
Description
Expected Behavior
Images are served by http server
Actual Behavior
Images return a 302 and a URL that ultimately results in a 404.
Steps to Reproduce
- Generate documentation that has images
- Run the http server
Additional info
Starting pdoc server on localhost:8080
pdoc server ready at http://localhost:8080
127.0.0.1 - - [08/Oct/2020 19:05:00] "GET /modelgen.modelgen/ HTTP/1.1" 200 -
127.0.0.1 - - [08/Oct/2020 19:05:00] "GET /modelgen.modelgen/img/screw_hole.svg HTTP/1.1" 302 -
127.0.0.1 - - [08/Oct/2020 19:05:00] "GET /modelgen.modelgen/img/screw_hole.svg/ HTTP/1.1" 404 -
Note that accessing the files directly via file://
works as expected.
- pdoc version: 0.9.1