1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2025-01-18 07:43:49 +09:00
cherrypick/src/server/api/common/get-host-lower.ts

6 lines
106 B
TypeScript

import { toUnicode } from 'punycode';
export default host => {
return toUnicode(host).toLowerCase();
};