]> git.ardis.lu - sheets-db/commitdiff
Change sql-wasm CDN to cdnjs
authorArdis Lu <ardisglu@gmail.com>
Wed, 1 Sep 2021 03:59:31 +0000 (20:59 -0700)
committerArdis Lu <ardisglu@gmail.com>
Wed, 1 Sep 2021 03:59:31 +0000 (20:59 -0700)
Whatever sql.js.org is serving is currently broken, tested on multiple browsers and devices

demo/index.html

index 7921db08f7c9c1e6b462941b1b0a8f24feaf87c2..e36ca9221e6fdce9b3c1142d7aa29487242845f8 100644 (file)
 
     /** Globals related to SQL.js */
     const sqlPromise = initSqlJs({
-      locateFile: file => `https://sql.js.org/dist/${file}`
+      locateFile: file => `https://cdnjs.cloudflare.com/ajax/libs/sql.js/1.6.1/${file}`
+      // locateFile: file => `https://sql.js.org/dist/${file}`
     });
     let db;
 
This page took 0.042496 seconds and 4 git commands to generate.