feat(clean_url): disqus url
This commit is contained in:
parent
5d562cd88e
commit
e54e50c9be
|
|
@ -39,8 +39,8 @@ const deSafelink = (urlStr) => {
|
|||
url = new URL(url.searchParams.get('a'))
|
||||
}
|
||||
|
||||
// ShopMy
|
||||
if (url.hostname === 'api.shopmy.us' && url.pathname === '/api/redirect_click') {
|
||||
// ShopMy & Disqus
|
||||
if ((url.hostname === 'api.shopmy.us' && url.pathname === '/api/redirect_click') || url.hostname === 'disq.us') {
|
||||
url = new URL(url.searchParams.get('url'))
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue