Question.
No valid summary could be found in the resource ‘http://localhost:4200/assets/css/bootstrap.min的’integrity’ attribute. css’ with computed SHA-256 integrity ‘ nvT75FkXevX06WR8vlhFFP02xzhq9qFxLQOuS0LkWyQ=’This resource is blocked.
Causes.
<!-- Bootstrap CSS -->
<!-- <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" integrity="sha384-WskhaSGFgHYWDcbwN70/dfYBj47jz9qbsMId/iRN3ewGhXQFZCSftd1LZCfmhktB" crossorigin="anonymous"> -->
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="assets/css/bootstrap.min.css" integrity="sha384-WskhaSGFgHYWDcbwN70/dfYBj47jz9qbsMId/iRN3ewGhXQFZCSftd1LZCfmhktB" crossorigin="anonymous">
Remove:
integrity=”sha384-WskhaSGFgHYWDcbwN70/dfYBj47jz9qbsMId/iRN3ewGhXQFZCSftd1LZCfmhktB” crossorigin=”anonymous”
"anonymous"
A cross-domain request (that is, containing the Origin:
HTTP header). But no authentication information is sent (that is, no cookies, X.509 certificates, and HTTP basic authentication information). If the server does not give the source site credentials (do not set access-control-allow-origin :
HTTP header), the image will be contaminated and restricted.
The integrity </ code>
Contains inline metadata, which is the hash value of a resource file that you get with your browser, encoded in base64 so that users can verify that a retrieved resource has not been tampered with during transmission. Check Subresource Integrity for details.
Documents:
https://developer.mozilla.org/zh-CN/docs/Web/HTML/Element/link
Read More:
- Chrome console reports Failed to load resource: net::ERR_BLOCKED_BY_CLIENT one of the solutions
- How to solve the problem of “blocked loading mixed active content” in Firefox
- Error: Rule can only have one resource source (provided resource and test + include + exclude)
- Use subprocess to execute the command line, and the pipeline is blocked
- Web Crawler: How to get the data in the web page and disguise the header, disguise as a browser to visit many times, avoid a single visit leading to IP blocked
- The computer can’t turn on ERROR: NO BOOT DISK HAS BEEN DETECTED OR THE DISK HAS FAILED
- (springmvc) Failed to load resource: the server responded with a status of 404 (Not Found)
- Differences between the assets directory in Android project and the purpose of resource
- Android Studio could not resolve resource
- glassfish:Resource temporarily unavailable in tsStartJavaThread
- Request cannot get static resource
- Spring MVC – enable static resource access
- Su prompt when switching users: resource temporarily unavailable
- Failed to load resource: net::ERR_CONNECTION_RESET
- System architecture and product design of resource scheduling platform
- Browser console prompt: Error: NetworkError when attempting to fetch resource.
- Error creating bean with name ‘sqlsessionfactory’ defined in class path resource…..
- Resolve – bash: fork: Retail: resource temporarily unavailable error
- failed to load resource file osql.rll
- Failed to load resource: net::ERR_SSL_PROTOCOL_ERROR