Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix invalid mime type in Jetbrains IDE #4489

Merged
merged 1 commit into from
Mar 8, 2025

Conversation

pczekaj
Copy link
Contributor

@pczekaj pczekaj commented Mar 5, 2025

Description

connection.url.toString() contains values like:

jar:file:/Users/some.username/Library/Application%20Support/JetBrains/IntelliJIdea2024.3/plugins/continue-intellij-extension/lib/instrumented-continue-intellij-extension-1.0.2.jar!/webview/index.html

if user has "js" in his home folder name (can happen for some surnames) then index.html will be treated as text/javascript and continue dev sidebar will output html source code instead of working app

this should fix #768

Checklist

  • [x]The relevant docs, if any, have been updated or created
  • The relevant tests, if any, have been updated or created

connection.url.toString() contains values like:

jar:file:/Users/some.username/Library/Application%20Support/JetBrains/IntelliJIdea2024.3/plugins/continue-intellij-extension/lib/instrumented-continue-intellij-extension-1.0.2.jar!/webview/index.html

if user has "js" in his home folder name then index.html will be treated as text/javascript and continue dev sidebar will output html source code instead of working app
Copy link

netlify bot commented Mar 5, 2025

Deploy Preview for continuedev canceled.

Name Link
🔨 Latest commit 9404e00
🔍 Latest deploy log https://app.netlify.com/sites/continuedev/deploys/67c82c7b71a8bb000859e36e

@sestinj
Copy link
Contributor

sestinj commented Mar 8, 2025

@pczekaj huge thanks for figuring this out!

@sestinj sestinj merged commit 1a98c53 into continuedev:main Mar 8, 2025
32 checks passed
@pczekaj pczekaj deleted the fix-wrong-content-type branch March 8, 2025 05:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

JetBrain Rider Continue plugin does not work
2 participants