fix(security): allow more strict CSP for SVG assets (#9209)

Refs #7540
This commit is contained in:
Vladimír Gorej
2023-09-14 12:34:13 +02:00
committed by GitHub
parent efe613322d
commit b7f533174a
8 changed files with 605 additions and 62 deletions

View File

@@ -4,6 +4,6 @@
import React from "react"
import SwaggerUILogo from "../assets/logo_small.svg"
const Logo = () => <img height="40" src={SwaggerUILogo} alt="Swagger UI" />
const Logo = () => <SwaggerUILogo height="40" />
export default Logo