The issue comes from how static URLs are defined in the JS files.
These files should be fixed.
They should include a leading slash to correctly resolve the static path.
static/assets
whenever it used to:
/static/assets/
Example (in authentication-main.js):
function ltrFn() {
let html = document.querySelector('html')
if(!document.querySelector("#style").href.includes('bootstrap.min.css')){
document
.querySelector("#style")
// ?.setAttribute("href", "static/assets/libs/bootstrap/css/bootstrap.min.css");
?.setAttribute("href", "/static/assets/libs/bootstrap/css/bootstrap.min.css");
}
html.setAttribute("dir", "ltr");
}