Failed to load module script: Expected a JavaScript module script but the server responded with a MIME type of ""text/plain"". Strict MIME type checking is enforced for module scripts per HTML spec.
Before:
After:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
## 📋 Pull Request Information
**Original PR:** https://github.com/open-webui/open-webui/pull/2474
**Author:** [@baptistecs](https://github.com/baptistecs)
**Created:** 5/21/2024
**Status:** ✅ Merged
**Merged:** 5/22/2024
**Merged by:** [@tjbck](https://github.com/tjbck)
**Base:** `dev` ← **Head:** `patch-1`
---
### 📝 Commits (2)
- [`d43ee0f`](https://github.com/open-webui/open-webui/commit/d43ee0fc5b018cec183de99e8047472c454737ae) Merge pull request #2465 from open-webui/dev
- [`ecb656a`](https://github.com/open-webui/open-webui/commit/ecb656af70c54d1361926b5742a172dd56793aa6) Fix .js mimetype on Windows 11
### 📊 Changes
**1 file changed** (+2 additions, -0 deletions)
<details>
<summary>View changed files</summary>
📝 `backend/main.py` (+2 -0)
</details>
### 📄 Description
> Failed to load module script: Expected a JavaScript module script but the server responded with a MIME type of ""text/plain"". Strict MIME type checking is enforced for module scripts per HTML spec.
Before:

After:

---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/2474
Author: @baptistecs
Created: 5/21/2024
Status: ✅ Merged
Merged: 5/22/2024
Merged by: @tjbck
Base:
dev← Head:patch-1📝 Commits (2)
d43ee0fMerge pull request #2465 from open-webui/devecb656aFix .js mimetype on Windows 11📊 Changes
1 file changed (+2 additions, -0 deletions)
View changed files
📝
backend/main.py(+2 -0)📄 Description
Before:
After:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.