Commit 3d486ebc authored by tom goriunov's avatar tom goriunov Committed by GitHub

Merge pull request #1922 from blockscout/hf-content-security-policy

Hotfix: content security policy and image size issues
parents abf8a445 0eca4f3a
......@@ -133,6 +133,10 @@ export function app(): CspDev.DirectiveDescriptor {
'*',
],
'frame-ancestors': [
KEY_WORDS.SELF,
],
...((() => {
if (!config.features.sentry.isEnabled) {
return {};
......
......@@ -31,6 +31,7 @@ const AppLink = ({ app, isLoading, onAppClick, isLarge = false }: Props) => {
alignItems="center"
justifyContent="center"
mr={ isLarge ? 3 : 4 }
flexShrink={ 0 }
>
<Image
src={ isLoading ? undefined : logoUrl }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment