Deactivated favicon html injection

This commit is contained in:
2025-07-18 13:07:34 +02:00
parent f025ac2549
commit 18d51daac0
2 changed files with 14 additions and 14 deletions

View File

@@ -2,19 +2,19 @@
http:
middlewares:
favicon-html-injection:
plugin:
rewritebody:
lastModified: true
rewrites:
- regex: <\/head>
replacement: |
<link rel="icon" type="image/png" sizes="96x96" href="https://static.eliasfink.de/img/favicon/favicon-96x96.png"/>
<link rel="icon" type="image/svg+xml" href="https://static.eliasfink.de/img/favicon/favicon.svg"/>
<link rel="shortcut icon" href="https://static.eliasfink.de/img/favicon/favicon.ico"/>
<link rel="apple-touch-icon" sizes="180x180" href="https://static.eliasfink.de/img/favicon/apple-touch-icon.png"/>
<link rel="manifest" href="https://static.eliasfink.de/img/favicon/site.webmanifest"/>
</head>
# favicon-html-injection:
# plugin:
# rewritebody:
# lastModified: true
# rewrites:
# - regex: <\/head>
# replacement: |
# <link rel="icon" type="image/png" sizes="96x96" href="https://static.eliasfink.de/img/favicon/favicon-96x96.png"/>
# <link rel="icon" type="image/svg+xml" href="https://static.eliasfink.de/img/favicon/favicon.svg"/>
# <link rel="shortcut icon" href="https://static.eliasfink.de/img/favicon/favicon.ico"/>
# <link rel="apple-touch-icon" sizes="180x180" href="https://static.eliasfink.de/img/favicon/apple-touch-icon.png"/>
# <link rel="manifest" href="https://static.eliasfink.de/img/favicon/site.webmanifest"/>
# </head>
favicon-ico-redirection:
redirectRegex:
permanent: true