Hey @ferdy,
You can refer to Restrict Download of Images & Videos on Streamlit App - #2 by andfanilo
Unfortunately, until Streamlit designs a new way to load static assets, Streamlit doesn’t actually load your js/chessboard-1.0.0.min.js
from the root of your project, it loads them from its own installation folder so this is where you’ll need to copy your html/css/js assets.
Have a nice day!
Fanilo