Hi there,
I have the exact issue as this topic noted below, and I was wondering if there have been any updates recently as the thread has been quiet since May.
I need to use the security header below in NextJS 12, with previews. Unfortunately, it is not working and resulting in the response noted again below.
{
key: 'X-Content-Type-Options',
value: 'nosniff'
},
Response
<!DOCTYPE html><html><head><meta http-equiv="Refresh" content="0; url={response-url}/>
<script>window.location.href = {response-url}</script>
</head>
Is there a workaround, I haven't yet migrated from the NPM module prismic-javascript > @prismicio/client. This is something I intend on doing over the next week or so.
Would this have an impact on this issue? or is this something you are still exploring a fix for?
Many thanks,
Duncan.