Add basic static json api

This commit is contained in:
Kevin Kandlbinder 2021-02-14 19:48:59 +01:00
parent cfada612bb
commit ab665a50f2
2 changed files with 105 additions and 1 deletions

View file

@ -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;
}