Skip to content

Commit f0700c5

Browse files
authored
Fix link tag to provide file type
I'm receiving an error from the hosted page on DigitalOcean. The resource from “https://family-roots-gdplq.ondigitalocean.app/static/css/dist/styles.css” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).
1 parent 4ba9107 commit f0700c5

File tree

1 file changed

+1
-1
lines changed
  • src/tailwind/templates/tailwind/tags

1 file changed

+1
-1
lines changed

src/tailwind/templates/tailwind/tags/css.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{% load static %}
22

3-
<link rel="stylesheet" href="{% if is_static_path %}{% static tailwind_css_path %}{% else %}{{ tailwind_css_path }}{% endif %}{% if v %}?v={{ v }}{% endif %}">
3+
<link rel="stylesheet" type="text/css" href="{% if is_static_path %}{% static tailwind_css_path %}{% else %}{{ tailwind_css_path }}{% endif %}{% if v %}?v={{ v }}{% endif %}">
44

55
{# dev_mode is deprecated. Leaving it here to support legacy browser-sync based configs #}
66
{% if dev_mode %}

0 commit comments

Comments
 (0)