Open
Description
The problem
ESPHome Dashboard does not work correctly with Python 3.8.10 and Python 3.9.6 on Windows 10. The website loads but does not respond to a click. The reason for this is that JavaScript files are delivered with content type "text/plain".
This problem is probably related to a bug in the mimetypes.guess_type function for Python on Windows.
Which version of ESPHome has the issue?
2021.8.2
What type of installation are you using?
pip
Which version of Home Assistant has the issue?
No response
What platform are you using?
ESP8266
Board
No response
Component causing the issue
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response