Skip to content

Commit

Permalink
docs(website): improve cache
Browse files Browse the repository at this point in the history
  • Loading branch information
wellwelwel committed Jul 20, 2024
1 parent 2b7d427 commit 1ef2bac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ serve({
const { pathname } = new URL(req.url);
const filePath = `${publicDir}${pathname}`;

const asset = file(filePath) || file('schemas');
const asset = file(filePath) || pathname.includes('schemas');
const isAsset = await asset.exists();

if (isAsset) {
Expand Down

0 comments on commit 1ef2bac

Please sign in to comment.