ws-nextjs-app/pages/[service]/live/[id]/[[...variant]].page.tsx
Function getServerSideProps
has 89 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export const getServerSideProps: GetServerSideProps = async context => {
context.res.setHeader(
'Cache-Control',
'public, stale-if-error=300, stale-while-revalidate=120, max-age=30',
);