ws-nextjs-app/pages/[service]/[[...]].page.tsx
Function getServerSideProps
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export const getServerSideProps: GetServerSideProps = async context => {
const {
resolvedUrl,
query: { service, variant },
req: { headers: reqHeaders },