mirror of
https://github.com/ahmadk953/tasko.git
synced 2025-05-04 04:33:10 +00:00
Added JavaScript Profiling with Sentry
This commit is contained in:
parent
d03340dd5a
commit
a3c568d5a1
2 changed files with 26 additions and 2 deletions
|
@ -23,6 +23,19 @@ const nextConfig: NextConfig = {
|
|||
},
|
||||
],
|
||||
},
|
||||
async headers() {
|
||||
return [
|
||||
{
|
||||
source: '/:path*',
|
||||
headers: [
|
||||
{
|
||||
key: 'Document-Policy',
|
||||
value: 'js-profiling',
|
||||
},
|
||||
],
|
||||
},
|
||||
];
|
||||
},
|
||||
pageExtensions: ['ts', 'tsx', 'js', 'jsx', 'md', 'mdx'],
|
||||
compress: true,
|
||||
serverMiddleware: [compression()],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue