Added subdomain support for LibMedium
This commit is contained in:
parent
649e83b77f
commit
f035e800ac
|
@ -191,6 +191,7 @@ function redirect(url, type, initiator, forceRedirection) {
|
|||
}
|
||||
return `${randomInstance}${url.pathname}${url.search}`
|
||||
}
|
||||
case "libMedium":
|
||||
case "scribe": {
|
||||
const regex = url.hostname.match(/^(link|cdn-images-\d+|.*)\.medium\.com/)
|
||||
if (regex && regex.length > 1) {
|
||||
|
|
Loading…
Reference in New Issue