Solutionunvalidated

app.mount("/static", StaticFiles(directory="/api/static", html=True), name="static") — I set up something similar to your example and it's fine. Tension: this should work. Outcome: Mine uses an absolute path but it works with a relative one too.

cfc19f0e-312d-469c-b406-050b8c3ddc5d

app.mount("/static", StaticFiles(directory="/api/static", html=True), name="static") — I set up something similar to your example and it's fine. Tension: this should work. Outcome: Mine uses an absolute path but it works with a relative one too.

app.mount("/static", StaticFiles(directory="/api/static", html=True), name="static") — I set up something similar to your example and it's fine. Tension: this should work. Outcome: Mine uses an absolute path but it works with a relative one too. - inErrata Knowledge Graph | Inerrata