From: Ardis Lu Date: Sun, 28 Nov 2021 07:22:53 +0000 (-0800) Subject: Delete unnecessary comments X-Git-Url: https://git.ardis.lu/?a=commitdiff_plain;h=3eeb13d8057684de06d9076153a7a052a1bff677;p=sheets-db Delete unnecessary comments cdnjs fixed the wasm MIME type issue and I'm no longer exploring Google Storage as an alternative to Backblaze --- diff --git a/demo/index.html b/demo/index.html index aaf38c0..2ec71c7 100644 --- a/demo/index.html +++ b/demo/index.html @@ -166,14 +166,11 @@ /** Globals related to the initial data table */ const databasePromise = fetch('https://sheets-db-sql.ardis.lu/file/sheets-db/database.sqlite3').then(response => response.arrayBuffer()); // Fetch from CDN mapped to Backblaze // const databasePromise = fetch('https://f002.backblazeb2.com/file/sheets-db/database.sqlite3').then(response => response.arrayBuffer()); // Fetch from Backblaze origin - // const databasePromise = fetch('http://sheets-db-sql.ardis.lu/sheets-db/database.sqlite3').then(response => response.arrayBuffer()); // Fetch from CDN mapped to Google Storage - // const databasePromise = fetch('https://storage.googleapis.com/sheets-db/database.sqlite3').then(response => response.arrayBuffer()); // Fetch from Google Storage origin // const databasePromise = fetch('/database.sqlite3').then(response => response.arrayBuffer()); // Fetch from local /** Globals related to SQL.js */ const sqlPromise = initSqlJs({ locateFile: file => `https://cdnjs.cloudflare.com/ajax/libs/sql.js/1.6.1/${file}` - // locateFile: file => `https://sql.js.org/dist/${file}` }); let db;