diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2019-04-10 00:59:41 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2019-04-10 00:59:41 +0900 |
| commit | 236d72685dfec013135fc1450b890e33ec377de1 (patch) | |
| tree | b4d06e3587da7de4b35a822d6dcfe74367bdfa38 /src/server/api/common | |
| parent | Fix bug (diff) | |
| download | sharkey-236d72685dfec013135fc1450b890e33ec377de1.tar.gz sharkey-236d72685dfec013135fc1450b890e33ec377de1.tar.bz2 sharkey-236d72685dfec013135fc1450b890e33ec377de1.zip | |
More puny
Diffstat (limited to 'src/server/api/common')
| -rw-r--r-- | src/server/api/common/get-host-lower.ts | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/server/api/common/get-host-lower.ts b/src/server/api/common/get-host-lower.ts deleted file mode 100644 index 26ddf6c6d0..0000000000 --- a/src/server/api/common/get-host-lower.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { toUnicode } from 'punycode'; - -export default (host: string) => { - if (host == null) return null; - return toUnicode(host).toLowerCase(); -}; |