mirror of
https://github.com/tsl0922/ttyd.git
synced 2026-01-05 10:24:22 +01:00
html: set URL of stylesheet by href
URL should be set with attribute `href`, `src` is no longer supportd by new browsers
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
<title><%= htmlWebpackPlugin.options.title %></title>
|
||||
<link inline rel="icon" type="image/png" href="favicon.png">
|
||||
<% for (const css in htmlWebpackPlugin.files.css) { %>
|
||||
<link inline rel="stylesheet" src="<%= htmlWebpackPlugin.files.css[css] %>">
|
||||
<link inline rel="stylesheet" type="text/css" href="<%= htmlWebpackPlugin.files.css[css] %>">
|
||||
<% } %>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
Reference in New Issue
Block a user