hostLowerは廃止してhostにlowerしたものを入れるように
This commit is contained in:
parent
26c979bcec
commit
d81c20f163
9 changed files with 10 additions and 16 deletions
|
|
@ -1,5 +1,5 @@
|
|||
import { toUnicode } from 'punycode';
|
||||
|
||||
export default host => {
|
||||
return toUnicode(host).replace(/[A-Z]+/, match => match.toLowerCase());
|
||||
return toUnicode(host).toLowerCase();
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue