Merge branch 'main' into feat/secure-hash

pull/5144/head
Yuxuan Zhang 1 month ago committed by GitHub
commit 360a2ddeee
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -107,6 +107,7 @@ export function registerWatchers({ closeSidebar }: RegisterWatchersOptions) {
const route = useRoute()
watch(() => route.path, closeSidebar)
watch(is960, closeSidebar)
useCloseSidebarOnEscape(closeSidebar)
}

@ -37,7 +37,7 @@ export async function serve(options: ServeOptions = {}) {
res.end()
}
const compress = compression({ brotli: true })
const compress = compression()
const serve = sirv(config.outDir, {
etag: true,
maxAge: 31536000,

Loading…
Cancel
Save