mirror of
https://github.com/Viren070/stremio-addons-list.git
synced 2025-12-01 23:19:02 +01:00
Update html.js
This commit is contained in:
+1
-1
@@ -16,7 +16,7 @@ const processHtml = (templateName, map) => {
|
||||
else if (templateName === 'homePageAddon')
|
||||
template = homePageAddonTemplate
|
||||
|
||||
var re = new RegExp(Object.keys(map).join('|'),'gi')
|
||||
const re = new RegExp(Object.keys(map).join('|'),'gi')
|
||||
return template.replace(re, matched => map[matched])
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user