diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2023-12-13 21:32:16 +0100 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2023-12-13 21:32:16 +0100 |
commit | 403729f3cad0eef670164962bb1f773b2ca79534 (patch) | |
tree | f82d83db4ae7948eea27d85ccdcb8e59ad25aece /search | |
parent | c3929f9575a776bce90a652fa73876da80894d57 (diff) | |
download | www-andreasbaumann-cc-403729f3cad0eef670164962bb1f773b2ca79534.tar.gz www-andreasbaumann-cc-403729f3cad0eef670164962bb1f773b2ca79534.tar.bz2 |
fts5 search working via http, not https, no clue
Diffstat (limited to 'search')
-rw-r--r-- | search/fts5/README | 1 | ||||
-rw-r--r-- | search/fts5/main.js | 10 |
2 files changed, 1 insertions, 10 deletions
diff --git a/search/fts5/README b/search/fts5/README index db52dc2..f1c5006 100644 --- a/search/fts5/README +++ b/search/fts5/README @@ -72,6 +72,7 @@ cp node_modules/sql.js-fts5/dist/sql-wasm.wasm ../../themes/new_theme/static/js/ # https://github.com/phiresky/sql.js-httpvfs # https://github.com/psanford/sqlite3vfshttp # https://phiresky.github.io/blog/2021/hosting-sqlite-databases-on-github-pages/ +# https://github.com/jlongster/absurd-sql # https://github.com/kbumsik/sqlite-wasm sudo pacman -S typescript diff --git a/search/fts5/main.js b/search/fts5/main.js deleted file mode 100644 index 4f5d648..0000000 --- a/search/fts5/main.js +++ /dev/null @@ -1,10 +0,0 @@ -const initSqlJs = require( 'sql.js-fts5' ); - -//~ const SQL = initSqlJs({ - //~ locateFile: file => `http://localhost:1313/js/${file}` -//~ }); - -//~ const db = new SQL.Database(); - -//~ let sqlstr = "SELECT * FROM posts"; -//~ db.run(sqlstr); |