Skip to content

Commit

Permalink
Rashi and Targum now come from copies in an OU repo
Browse files Browse the repository at this point in the history
  • Loading branch information
M-Zuber committed Jun 14, 2023
1 parent db3d469 commit c54ed52
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions offlineSupport.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const getChumashLink = (book: BookName, hebrewVersion: HebrewTextVersionOptions,

// For right now Targum and Rashi versions are hardcoded
const targumVersion: TargumVersionOptions = 'Sifsei Chachomim Chumash, Metsudah Publications, 2009';
const baseTargumLink = `https://raw.githubusercontent.com/Sefaria/Sefaria-Export/master/json/Tanakh/Targum/Onkelos/Torah/Onkelos $book/Hebrew/${targumVersion}.json`;
const baseTargumLink = `https://raw.githubusercontent.com/Orthodox-Union/ShnayimMikrah-Files/master/Targum/$book/Hebrew/${targumVersion}.json`;
const getTargumLink = (book: BookName) => encodeURI(baseTargumLink.replace('$book', book));
const targumLinks = {
[BookName.Genesis]: getTargumLink(BookName.Genesis),
Expand All @@ -27,7 +27,7 @@ const targumLinks = {
};

const rashiVersion: RashiVersionOptions = 'Rashi Chumash, Metsudah Publications, 2009';
const baseRashiLink = `https://raw.githubusercontent.com/Sefaria/Sefaria-Export/master/json/Tanakh/Commentary/Rashi/Torah/Rashi on $book/Hebrew/${rashiVersion}.json`;
const baseRashiLink = `https://raw.githubusercontent.com/Orthodox-Union/ShnayimMikrah-Files/master/Rashi/$book/Hebrew/${rashiVersion}.json`;
const getRashiLink = (book: BookName) => encodeURI(baseRashiLink.replace('$book', book));
const rashiLinks = {
[BookName.Genesis]: getRashiLink(BookName.Genesis),
Expand Down

0 comments on commit c54ed52

Please sign in to comment.