Support CSP nonce for webv2. Closes #2127
This commit is contained in:
@@ -4,6 +4,7 @@ import { FC } from 'react';
|
||||
export const ServerRenderedHydration: FC = () => (
|
||||
<script
|
||||
id="server-side-hydration"
|
||||
nonce="{{.Nonce}}"
|
||||
dangerouslySetInnerHTML={{
|
||||
__html: `
|
||||
window.configHydration = {{.ServerConfigJSON}};
|
||||
|
||||
Reference in New Issue
Block a user