I first wrote my web application on spring and faced the problem that CORB blocks my gif taken from GIPHY. Here is the code of my page:
<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
<title>Getting Started: Serving Web Content</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
</head>
<body>
<div>
<img th:attr="src=@{${src}}" style="width: 150px; height: 150px;" />
</div>
</body>
</html>
In the browser console, do the following: Cross-Origin Read Blocking (CORB) blocked cross-origin response https://giphy.com/embed/uEVWFGf3jv9hC with MIME type text/html. See https://www.chromestatus.com/feature/5629709824032768 for more details.
The page itself looks like this:
Aucun commentaire:
Enregistrer un commentaire