More puny
This commit is contained in:
parent
72a5f7b1e2
commit
236d72685d
14 changed files with 52 additions and 55 deletions
|
|
@ -1,6 +0,0 @@
|
|||
import { toUnicode } from 'punycode';
|
||||
|
||||
export default (host: string) => {
|
||||
if (host == null) return null;
|
||||
return toUnicode(host).toLowerCase();
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue