feat: support vercel speed insight (#3686)

This commit is contained in:
Fred Liang
2023-12-28 23:10:19 +08:00
committed by GitHub
parent f8b963df6d
commit 406530ca69
4 changed files with 23 additions and 2 deletions

View File

@@ -10,7 +10,11 @@ export default async function App() {
return (
<>
<Home />
{serverConfig?.isVercel && <Analytics />}
{serverConfig?.isVercel && (
<>
<Analytics />
</>
)}
</>
);
}