Skip to content

Commit d02a9fd

Browse files
committed
🎉 feat: cache
1 parent 345139a commit d02a9fd

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/index.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,8 +164,7 @@ export async function staticPlugin<const Prefix extends string = '/prefix'>({
164164
}
165165

166166
const cache = fileCache.get(pathName)
167-
if (cache)
168-
return cache.clone()
167+
if (cache) return cache.clone()
169168

170169
const response = new Response(file, {
171170
headers: Object.assign(

0 commit comments

Comments
 (0)