cleanup
This commit is contained in:
parent
b65be34081
commit
67e6706d47
|
@ -18,7 +18,6 @@ const lokidb = new loki("", {
|
||||||
export let dictionary: T.Dictionary | undefined = undefined;
|
export let dictionary: T.Dictionary | undefined = undefined;
|
||||||
|
|
||||||
// TODO: Abstract dictionary fetch
|
// TODO: Abstract dictionary fetch
|
||||||
|
|
||||||
export function updateDictionary() {
|
export function updateDictionary() {
|
||||||
fetch(process.env.LINGDOCS_DICTIONARY_URL || "").then(res => res.arrayBuffer()).then(buffer => {
|
fetch(process.env.LINGDOCS_DICTIONARY_URL || "").then(res => res.arrayBuffer()).then(buffer => {
|
||||||
const dict = readDictionary(buffer as Uint8Array);
|
const dict = readDictionary(buffer as Uint8Array);
|
||||||
|
|
Loading…
Reference in New Issue