Relative Content

Tag Archive for next.jsmiddlewarecontent-security-policytrpc

Using TRPC in Next.js Middleware

I am attempting to set frame-ancestors dynamically by returning a value from a TRPC route based on the path passed to my middleware function. This is the error I am receiving: