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());