Skip to main content

SWAGGER_BUNDLE_SRI

Constant SWAGGER_BUNDLE_SRI 

Source
pub const SWAGGER_BUNDLE_SRI: &str = "sha384-wmyclcVGX/WhUkdkATwhaK1X1JtiNrr2EoYJ+diV3vj4v6OC5yCeSu+yW13SYJep";
Expand description

The subresource integrity of the pinned bundle: the browser runs the script only when its bytes hash to this, so a substituted file on the CDN never runs beside the write routes. Computed from https://unpkg.com/swagger-ui-dist@5.17.14/swagger-ui-bundle.js.