From: Ardis Lu Date: Wed, 1 Sep 2021 03:59:31 +0000 (-0700) Subject: Change sql-wasm CDN to cdnjs X-Git-Url: https://git.ardis.lu/?a=commitdiff_plain;h=144082b983ad8486c5bb431c2a397f377b7b095b;p=sheets-db Change sql-wasm CDN to cdnjs Whatever sql.js.org is serving is currently broken, tested on multiple browsers and devices --- diff --git a/demo/index.html b/demo/index.html index 7921db0..e36ca92 100644 --- a/demo/index.html +++ b/demo/index.html @@ -172,7 +172,8 @@ /** 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;