ws-nextjs-app/pages/[service]/live/[id]/[[...variant]].page.tsx

Summary

Maintainability
A
3 hrs
Test Coverage

Function getServerSideProps has 89 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export const getServerSideProps: GetServerSideProps = async context => {
  context.res.setHeader(
    'Cache-Control',
    'public, stale-if-error=300, stale-while-revalidate=120, max-age=30',
  );
Severity: Major
Found in ws-nextjs-app/pages/[service]/live/[id]/[[...variant]].page.tsx - About 3 hrs to fix

    There are no issues that match your filters.

    Category
    Status