Initial commit
This commit is contained in:
commit
78f8d225ee
21173 changed files with 2907774 additions and 0 deletions
16
node_modules/next/dist/server/lib/format-hostname.js
generated
vendored
Normal file
16
node_modules/next/dist/server/lib/format-hostname.js
generated
vendored
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
Object.defineProperty(exports, "formatHostname", {
|
||||
enumerable: true,
|
||||
get: function() {
|
||||
return formatHostname;
|
||||
}
|
||||
});
|
||||
const _isipv6 = require("./is-ipv6");
|
||||
function formatHostname(hostname) {
|
||||
return (0, _isipv6.isIPv6)(hostname) ? `[${hostname}]` : hostname;
|
||||
}
|
||||
|
||||
//# sourceMappingURL=format-hostname.js.map
|
||||
Loading…
Add table
Add a link
Reference in a new issue