Remove parse-domain dependency (#856)
* Remove parse-domain dependency * Remove only, add commentary * Update lockfile
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
// @flow
|
||||
import parseDomain from 'parse-domain';
|
||||
import { parseDomain } from '../../shared/utils/domains';
|
||||
|
||||
export default function isInternalUrl(href: string) {
|
||||
if (href[0] === '/') return true;
|
||||
|
||||
Reference in New Issue
Block a user