Closed marcus-at-localhost closed 6 years ago
Holy freak, I found the solution, thanks to this comment: https://github.com/pallets/flask/issues/1045#issuecomment-42202749
The python mimetypes module pulls the values from the registry on windows so somehow your registry has got a bit messed up.
I ended up in bottle.py trying to understand where the wrong content/mime type is coming from and it's my windows registry!
For some reason the css is served as Content-Type: text/html and thus there are no styles applied to the preview. Javascript is served fine though.
Any idea? I already uninstalled/installed the extension and it happens in all browsers.