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

Summary

Maintainability
A
2 hrs
Test Coverage

Function getServerSideProps has 51 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]/send/[id]/[[...variant]].page.tsx - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status