You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to serve my stylesheet in my template: <link rel="stylesheet" href="css/style.css" />
I have configured mime.properties: css=text/css
and encoding.properties: text/css=utf-8
The style file itself is in UTF-8 encoding without BOOM.
The server sends the file via a direct link, but when trying to apply styles, it writes:
Failed to load resource: net::ERR_INVALID_CHUNKED_ENCODING
The server console writes this:
2021-Mar-24 20:28:08.7966476 | 11960 | warning | checkErro | erro=-1, dwLastError=10053 | C:\Users\user\AppData\Local\dub\packages\hunt-1.7.5\hunt\source\hunt\io\channel\iocp\Common.d:42
2021-Mar-24 20:28:08.7976483 | 11960 | error | AbstractStream.doWrite | Socket error on write: fd=1096, message=An established connection was aborted by the software in your host machine. | C:\Users\user\AppData\Local\dub\packages\hunt-1.7.5\hunt\source\hunt\io\channel\iocp\AbstractStream.d:243
I also noticed that if I reload the page many times, there is a chance that the styles will be loaded successfully, but the next time it will be a failure.
What am I doing wrong?
The text was updated successfully, but these errors were encountered:
I am trying to serve my stylesheet in my template:
<link rel="stylesheet" href="css/style.css" />
I have configured mime.properties:
css=text/css
and encoding.properties:
text/css=utf-8
The style file itself is in UTF-8 encoding without BOOM.
The server sends the file via a direct link, but when trying to apply styles, it writes:
The server console writes this:
I also noticed that if I reload the page many times, there is a chance that the styles will be loaded successfully, but the next time it will be a failure.
What am I doing wrong?
The text was updated successfully, but these errors were encountered: