Issue with Custom CSS in Theme Editor Not Loading

Hi everyone,

I’m encountering an issue where the ace.js file fails to load, even when running Discourse in safe mode. This issue prevents the theme editor from functioning properly. I’ve attached a screenshot showing the failed request.

Here is what I’ve tried so far:

  1. Cleared browser cache and cookies.
  2. Attempted to access the site using different browsers.
  3. Checked server logs but found no clear indication of the issue.
  4. Verified file permissions and paths on the server.
  5. Rebuilt the app using ./launcher rebuild app.
  6. Ensured all Discourse and plugin updates are installed.

Despite these efforts, the problem persists. Has anyone else encountered this issue or have any suggestions on how to resolve it?

Thank you in advance for your help!