Remove image rewriting for custom themes

This commit is contained in:
Pieter Vander Vennet 2022-01-24 19:55:02 +01:00
parent a1136991f0
commit 06f9f2d94c

View file

@ -159,7 +159,7 @@ export default class DetermineLayout {
try { try {
parsed.id = link; parsed.id = link;
const layoutToUse = DetermineLayout.prepCustomTheme(parsed) const layoutToUse = DetermineLayout.prepCustomTheme(parsed)
return new LayoutConfig(layoutToUse,false).patchImages(link, JSON.stringify(layoutToUse)); return new LayoutConfig(layoutToUse,false)
} catch (e) { } catch (e) {
console.error(e) console.error(e)
DetermineLayout.ShowErrorOnCustomTheme( DetermineLayout.ShowErrorOnCustomTheme(