79791947

Date: 2025-10-16 08:49:33
Score: 1
Natty:
Report link

The issue comes from how static URLs are defined in the JS files.

enter image description here

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");
    }
Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Roman Rekrut