mirror of
https://github.com/Unkn0wnCat/KevinK.dev.js.git
synced 2025-06-26 14:27:31 +02:00
Add basic static json api
This commit is contained in:
parent
cfada612bb
commit
ab665a50f2
2 changed files with 105 additions and 1 deletions
|
@ -19,7 +19,8 @@ async function checkLang({ request }) {
|
|||
requestURL.pathname.startsWith("/icons") ||
|
||||
requestURL.pathname.startsWith("/manifest.webmanifest") ||
|
||||
requestURL.pathname.startsWith("/favicon") ||
|
||||
requestURL.pathname.startsWith("/sw.js")) {
|
||||
requestURL.pathname.startsWith("/sw.js") ||
|
||||
requestURL.pathname.startsWith("/api")) {
|
||||
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue