loading static JS file
I'm doing a POC to integrate dhtmlx gantt chart inside Solara.
my project directory structure -
project-root/
|
|---app.py
|---sol.py
|---static/
| |---public/
| |---dhtmlxgantt.js
| |---dhtmlxgantt.css
I'm mounting the static folder, check below code
from fastapi import FastAPI
app = FastAPI()
app.mount("/static", StaticFiles(directory="static"), name="static")
later mounted the app too
when I'm trying to access the static file inside my html
solara.HTML(mycustomhtml)
it always and only mounts the css file and skips the js file
also I keep getting 404 error in console for
solara_app/static/base/js/namespace.js & solara_app/static/base/js/utils.js
please guide me here, how to fix this