mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-02 09:46:06 +02:00
hostLowerは廃止してhostにlowerしたものを入れるように
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { toUnicode } from 'punycode';
|
||||
|
||||
export default host => {
|
||||
return toUnicode(host).replace(/[A-Z]+/, match => match.toLowerCase());
|
||||
return toUnicode(host).toLowerCase();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user