From 144082b983ad8486c5bb431c2a397f377b7b095b Mon Sep 17 00:00:00 2001 From: Ardis Lu Date: Tue, 31 Aug 2021 20:59:31 -0700 Subject: [PATCH] Change sql-wasm CDN to cdnjs Whatever sql.js.org is serving is currently broken, tested on multiple browsers and devices --- demo/index.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- 2.47.3