This is an automated email from the ASF dual-hosted git repository. bchapuis pushed a commit to branch sonar in repository https://gitbox.apache.org/repos/asf/incubator-baremaps.git
commit a6cfdd0706cee58fb0b4ce47d5c7f16d52705151 Author: Bertil Chapuis <[email protected]> AuthorDate: Tue Jun 11 12:55:46 2024 +0200 Add integrity tag to html sub resources --- baremaps-server/src/main/resources/static/server.html | 12 ++++++------ baremaps-server/src/main/resources/static/viewer.html | 18 +++++++++--------- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/baremaps-server/src/main/resources/static/server.html b/baremaps-server/src/main/resources/static/server.html index f903e4c5..b1fc66e0 100644 --- a/baremaps-server/src/main/resources/static/server.html +++ b/baremaps-server/src/main/resources/static/server.html @@ -17,12 +17,12 @@ limitations under the License. --> <html> <head> - <script src='https://unpkg.com/[email protected]/dist/maplibre-gl.js'></script> - <script src='https://baremaps.apache.org/assets/maplibre/maplibre-gl-inspect.js'></script> - <script src='https://baremaps.apache.org/assets/maplibre/maplibre-gl-tile-boundaries.js'></script> - <link href='https://unpkg.com/[email protected]/dist/maplibre-gl.css' rel='stylesheet' /> - <link href='https://baremaps.apache.org/assets/maplibre/maplibre-gl-inspect.css' rel='stylesheet' /> - <link href='https://baremaps.apache.org/assets/maplibre/maplibre-gl-tile-boundaries.css' rel='stylesheet' /> + <script src="https://unpkg.com/[email protected]/dist/maplibre-gl.js" integrity="sha256-qmQe97oAYERiVjChfXOO7hB6XvtPv+LURdheDkwjygk=" crossorigin="anonymous"></script> + <script src="https://baremaps.apache.org/assets/maplibre/maplibre-gl-inspect.js" integrity="sha256-NYdRoIbqeAWkTHjpa/BukMLXcsiqFoDuJCYzzaRei30=" crossorigin="anonymous"></script> + <script src="https://baremaps.apache.org/assets/maplibre/maplibre-gl-tile-boundaries.js" integrity="sha256-Jo8NvxMzooqayU8+eIsjO49b4EoakoE0o0tSSrBWPCU=" crossorigin="anonymous"></script> + <link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/maplibre-gl.css" integrity="sha256-xOYnscyMgBG9kd6rZmIRZiBVqaN+CGquVtFHJS9018U=" crossorigin="anonymous"> + <link rel="stylesheet" href="https://baremaps.apache.org/assets/maplibre/maplibre-gl-inspect.css" integrity="sha256-ePhsoaklgbCBxK7kfSUcP+V+bVqnfFwpILz7hkSR0Lo=" crossorigin="anonymous"> + <link rel="stylesheet" href="https://baremaps.apache.org/assets/maplibre/maplibre-gl-tile-boundaries.css" integrity="sha256-FxIRliWXnU67sT1i97MgNQ0qL8LjsgYiBH9v/uNxzdM=" crossorigin="anonymous"> <link rel="icon" type="image/x-icon" href="https://baremaps.apache.org/assets/favicon/favicon.ico"> <style> diff --git a/baremaps-server/src/main/resources/static/viewer.html b/baremaps-server/src/main/resources/static/viewer.html index 8763d73b..c5a920de 100644 --- a/baremaps-server/src/main/resources/static/viewer.html +++ b/baremaps-server/src/main/resources/static/viewer.html @@ -17,15 +17,15 @@ limitations under the License. --> <html> <head> - <script src='https://unpkg.com/[email protected]/dist/maplibre-gl.js'></script> - <script src='https://baremaps.apache.org/assets/maplibre/maplibre-gl-inspect.js'></script> - <script src='https://baremaps.apache.org/assets/maplibre/maplibre-gl-tile-boundaries.js'></script> - <script src='https://baremaps.apache.org/assets/maplibre/maplibre-custom-controls.js'></script> - <script src='https://baremaps.apache.org/assets/maplibre/maplibre-gl-framerate.js'></script> - <link href='https://unpkg.com/[email protected]/dist/maplibre-gl.css' rel='stylesheet' /> - <link href='https://baremaps.apache.org/assets/maplibre/maplibre-gl-inspect.css' rel='stylesheet' /> - <link href='https://baremaps.apache.org/assets/maplibre/maplibre-gl-tile-boundaries.css' rel='stylesheet' /> - <link href='https://baremaps.apache.org/assets/maplibre/maplibre-custom-controls.css' rel='stylesheet' /> + <script src="https://unpkg.com/[email protected]/dist/maplibre-gl.js" integrity="sha256-qmQe97oAYERiVjChfXOO7hB6XvtPv+LURdheDkwjygk=" crossorigin="anonymous"></script> + <script src="https://baremaps.apache.org/assets/maplibre/maplibre-gl-inspect.js" integrity="sha256-NYdRoIbqeAWkTHjpa/BukMLXcsiqFoDuJCYzzaRei30=" crossorigin="anonymous"></script> + <script src="https://baremaps.apache.org/assets/maplibre/maplibre-gl-tile-boundaries.js" integrity="sha256-Jo8NvxMzooqayU8+eIsjO49b4EoakoE0o0tSSrBWPCU=" crossorigin="anonymous"></script> + <script src="https://baremaps.apache.org/assets/maplibre/maplibre-custom-controls.js" integrity="sha256-80a3VIbp5OJ8HSIWJ7+6NjTvdBmVirLCR6otKucXnlw=" crossorigin="anonymous"></script> + <script src="https://baremaps.apache.org/assets/maplibre/maplibre-gl-framerate.js" integrity="sha256-6IVzv2heNDAl7KkSqjRkmjr56asfkdCxO2q8ouTo8t8=" crossorigin="anonymous"></script> + <link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/maplibre-gl.css" integrity="sha256-xOYnscyMgBG9kd6rZmIRZiBVqaN+CGquVtFHJS9018U=" crossorigin="anonymous"> + <link rel="stylesheet" href="https://baremaps.apache.org/assets/maplibre/maplibre-gl-inspect.css" integrity="sha256-ePhsoaklgbCBxK7kfSUcP+V+bVqnfFwpILz7hkSR0Lo=" crossorigin="anonymous"> + <link rel="stylesheet" href="https://baremaps.apache.org/assets/maplibre/maplibre-gl-tile-boundaries.css" integrity="sha256-FxIRliWXnU67sT1i97MgNQ0qL8LjsgYiBH9v/uNxzdM=" crossorigin="anonymous"> + <link rel="stylesheet" href="https://baremaps.apache.org/assets/maplibre/maplibre-custom-controls.css" integrity="sha256-rFc19qrZTPgcrNeYjtsLCcDOqM5NrLiPy2U+0FxW9vA=" crossorigin="anonymous"> <link rel="icon" type="image/x-icon" href="https://baremaps.apache.org/assets/favicon/favicon.ico"> <style>
