File manager - Edit - /usr/local/lib/node_modules/ghost-cli/node_modules/url-parse-lax/index.js
Back
'use strict'; const url = require('url'); const prependHttp = require('prepend-http'); module.exports = (input, options) => { if (typeof input !== 'string') { throw new TypeError(`Expected \`url\` to be of type \`string\`, got \`${typeof input}\` instead.`); } const finalUrl = prependHttp(input, Object.assign({https: true}, options)); return url.parse(finalUrl); };
| ver. 1.4 |
Github
|
.
| PHP 8.2.30 | Generation time: 0 |
proxy
|
phpinfo
|
Settings