@@ -27,6 +21,10 @@ requests.
+We recommend you remove any `export const config = ...` from your middleware so
+Nosecone will run on every route. This ensures the headers are applied to all
+requests.
+
You also need to opt-out of static generation in your application. See the
`@nosecone/next` [reference
guide](/nosecone/reference#nextjs-security-headers-middleware) for more details
@@ -68,3 +66,12 @@ To opt-out of static generation, modify your layout file with the following:
/>
+
+We recommend you remove any `export const config = ...` from your middleware so
+Nosecone will run on every route. This ensures the headers are applied to all
+requests.
+
+