ws-nextjs-app/pages/[service]/send/[id]/[[...variant]].page.tsx
Function getServerSideProps
has 49 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',
);