Sanster / IOPaint

Image inpainting tool powered by SOTA AI Model. Remove any unwanted object, defect, people from your pictures or erase and replace(powered by stable diffusion) any thing on your pictures.
https://www.iopaint.com/
Apache License 2.0
17.35k stars 1.75k forks source link

[BUG] White Page and nothing with error(in chrome dev tool console) Page blocked because of a disallowed MIME type "text/plain" #460

Closed AndrewDrimer closed 1 month ago

AndrewDrimer commented 2 months ago

2024-02-23_040903 Server loading but only White web. Nothing else. What wrong?

Sanster commented 2 months ago

It may be that there are errors in the front-end webpage. Could you please open the developer tools in Chrome to see if there are any errors? Thank you.

Other people have also encountered this problem, and it seems that refreshing the page can solve the issue.

AndrewDrimer commented 2 months ago

2024-02-23_041934

AndrewDrimer commented 2 months ago

2024-02-23_043643 I Change This. Reload Working. 2024-02-23_043850

Sanster commented 2 months ago

wow, thank you for your report, I will investigate why this is happening.

ffoofooffof commented 2 months ago

I had the same issue. Thank you for the solution.

ggardlo commented 2 months ago

I had the same issue, try to refresh page. It helped to me.

Xiuzhenpeng commented 2 months ago

I had the same issue.I try this, and donnot work. but I change this, it is working. Thank you. 屏幕截图(65)

2024-02-23_043643 I Change This. Reload Working. 我改变这个。重新加载工作。 2024-02-23_043850

nikolaiusa commented 2 months ago

+1 white screen - console log: 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.

nikolaiusa commented 2 months ago

works at Microsoft edge doesn't work in chrome, cent browser... (white screen)

Pudzianos commented 2 months ago

Also got this error, changing registry does not work for me and It happens on all my browsers (chrome,edge,opera,firefox) msedge_yYkYm1ZqWw firefox_zGq7zfUKb5

Sanster commented 2 months ago

Also got this error, changing registry does not work for me and It happens on all my browsers (chrome,edge,opera,firefox) msedge_yYkYm1ZqWw firefox_zGq7zfUKb5

I found some issues in other projects that encountered this problem, they are basically related to Windows registry settings. Perhaps you can refer to how others have solved problems in these issues:

Pudzianos commented 1 month ago

In my case pull request still didn't work It helped after I changed this in both places AND then restarted my PC https://github.com/voxel51/fiftyone/issues/2522#issuecomment-1457862951

Thank you :)