MoonshotAI / MoonshotAI/kimi-cli
[Bug] v1.39.0 /web 模式 JavaScript 文件 MIME 类型错误导致页面无法加载 || [Bug] v1.39.0 /web mode JavaScript file MIME type error causes page to fail loading
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 11.4k
- Forks
- 1.3k
- Avg merge
- 9h 47m
- Merged PRs (30d)
- 2
Description
What version of Kimi Code CLI is running?
v1.39.0
Which open platform/subscription were you using?
/web mode (local web server)
Which model were you using?
N/A - issue occurs before model selection
What platform is your computer?
Windows 10 (AMD64)
What issue are you seeing?
When running kimi cli /web and accessing the local web server at http://127.0.0.1:5494/, the page fails to load properly.
Browser console error:
index-C1DST3ay.js:1 Failed to load module script: Expected a JavaScript-or-Wasm 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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce kimi cli /web on Windows 10 and inspect the local web server's handling of the JavaScript asset reported as index-C1DST3ay.js. Check the response headers and static-file MIME mapping; done means the asset is served with a JavaScript module MIME type and http://127.0.0.1:5494/ loads successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, python
- Domain
- cli, web-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 58/100