mirror of
https://github.com/Unkn0wnCat/KevinK.dev.js.git
synced 2025-05-01 19:26:43 +02:00
Exclude favicon from language redirector
This commit is contained in:
parent
c9088ade96
commit
4b92fc0ed2
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ async function checkLang({ request }) {
|
|||
|
||||
let requestURL = new URL(url);
|
||||
|
||||
if(requestURL.pathname.startsWith("/assets") || requestURL.pathname.startsWith("/icons") || requestURL.pathname.startsWith("/manifest.webmanifest")) {
|
||||
if(requestURL.pathname.startsWith("/assets") || requestURL.pathname.startsWith("/icons") || requestURL.pathname.startsWith("/manifest.webmanifest") || requestURL.pathname.startsWith("/favicon")) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue