Inject different html tags per route #9075
Unanswered
marinsokol5
asked this question in
General
Replies: 1 comment
-
You can use the <Head>
<meta http-equiv="Content-Security-Policy" content="..." />
</Head> |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey,
My use case is that I want different CSP rules per different route, mostly because I have a home page which works with loose CSP rules to accomodate for some of the Docusaurus stuff, but I also want to have a more stripped page which should abide by stricter CSP rules.
Currently I use injectHtmlTags API for this, but is it in anyway possible to have different HTML tags returned for different routes?
Beta Was this translation helpful? Give feedback.
All reactions