]> git.ardis.lu - sheets-db/commitdiff
Add SRI checks for sql.js WASM binaries
authorArdis Lu <ardisglu@gmail.com>
Thu, 28 Dec 2023 06:48:35 +0000 (22:48 -0800)
committerArdis Lu <ardisglu@gmail.com>
Thu, 28 Dec 2023 06:48:35 +0000 (22:48 -0800)
demo/index.html
sidebar.html

index f7122440b2d38fa94aa62d74134e16233efab9f1..1fb2572a37955d5042420e268d7b97a3b542b0fb 100644 (file)
@@ -12,7 +12,7 @@
   <link rel="icon" href="data:,">
   <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/codemirror@5.65.16/lib/codemirror.min.css">
   <link rel="preload" href="https://sheets-db-sql.ardis.lu/file/sheets-db/database.sqlite3" as="fetch" crossorigin>
-  <link rel="preload" href="https://cdn.jsdelivr.net/npm/sql.js@1.9.0/dist/sql-wasm.wasm" as="fetch" crossorigin>
+  <link rel="preload" href="https://cdn.jsdelivr.net/npm/sql.js@1.9.0/dist/sql-wasm.wasm" integrity="sha512-ZvMM7tk/Z1fapR4s1d0lzbI+H5QimwS09Kr6L9M4Om+A1N2UX7nGq+SAy0HpV3gASQpBdPgcy5PumDHfXJJ1SA==" as="fetch" crossorigin>
   <style>
     body {
       font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto,
index 3f1c8ff1d4268cd5dacb22f8a9d0d1e661f5d5b1..371785d2d30ec3ff6b730f8319fd5b279ce4e95d 100644 (file)
@@ -4,6 +4,7 @@
 <head>
   <base target="_top">
   <link rel="stylesheet" href="https://ssl.gstatic.com/docs/script/css/add-ons1.css">
+  <link rel="preload" href="https://cdn.jsdelivr.net/npm/sql.js@1.8.0/dist/sql-wasm.wasm" integrity="sha512-sGvDmvDGqGZJMpyv2eGMCD46jfxutp6xADGZRyxF2it6XPKKR3YhfjW7dRsSbs00uX5nDkedNxGuz9PbL/RWmQ==" as="fetch" crossorigin>
   <style>
     body {
       height: 100%;
This page took 0.039813 seconds and 4 git commands to generate.