1
0
mirror of https://github.com/MisskeyIO/misskey synced 2024-11-27 22:38:30 +09:00
This commit is contained in:
syuilo 2018-11-11 18:26:09 +09:00
parent 37bfb79123
commit 15a2881083
No known key found for this signature in database
GPG Key ID: BDC4C49D06AB9D69
2 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,6 @@
import { toUnicode } from 'punycode';
export default (host: string) => {
if (host == null) return null;
return toUnicode(host).toLowerCase();
};

View File

@ -28,7 +28,7 @@ export const meta = {
},
host: {
validator: $.str.optional,
validator: $.str.optional.nullable,
},
includeReplies: {