From 954a98e67196061e0083d2e373ef92c296cea5ae Mon Sep 17 00:00:00 2001 From: MarvNC Date: Tue, 23 Jul 2024 22:02:01 -0700 Subject: [PATCH] Fix urls --- src/convertToHonziDictionary.js | 2 +- src/convertToTermDictionary.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/convertToHonziDictionary.js b/src/convertToHonziDictionary.js index 7255ca2..1e26a5a 100644 --- a/src/convertToHonziDictionary.js +++ b/src/convertToHonziDictionary.js @@ -31,7 +31,7 @@ import { isSingleCJKHanzi } from 'is-cjk-hanzi'; .setRevision(dateString) .setIsUpdatable(true) .setIndexUrl( - `https://github.com/MarvNC/wordshk-yomitan/releases/latest/download${HONZI_INDEX_FILE}` + `https://github.com/MarvNC/wordshk-yomitan/releases/latest/download/${HONZI_INDEX_FILE}` ) .setDownloadUrl( `https://github.com/MarvNC/wordshk-yomitan/releases/download/${tagName}/${honziDictionaryFilename}` diff --git a/src/convertToTermDictionary.js b/src/convertToTermDictionary.js index 1362c4b..9e88b10 100644 --- a/src/convertToTermDictionary.js +++ b/src/convertToTermDictionary.js @@ -60,7 +60,7 @@ import { readAndParseCSVs } from './util/readAndParseCSVs.js'; `https://github.com/MarvNC/wordshk-yomitan/releases/latest/download/${TERM_INDEX_FILE}` ) .setDownloadUrl( - `https://github.com/MarvNC/wordshk-yomitan/releases/download/${tagName}/${termDictionaryFileName}` + `https://github.com/MarvNC/wordshk-yomitan/releases/${tagName}/download/${termDictionaryFileName}` ); await dictionary.setIndex(dictionaryIndex.build());