1234567891011 |
- "use strict";
- Object.defineProperty(exports, "__esModule", {
- value: true
- });
- exports.getHostname = getHostname;
- function getHostname(parsed, headers) {
- var ref;
- return (ref = !Array.isArray(headers == null ? void 0 : headers.host) && (headers == null ? void 0 : headers.host) || parsed.hostname) == null ? void 0 : ref.split(':')[0].toLowerCase();
- }
- //# sourceMappingURL=get-hostname.js.map
|