暂无描述
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

requireHostingSite.js 451B

123456789101112
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. exports.requireHostingSite = void 0;
  4. const getDefaultHostingSite_1 = require("./getDefaultHostingSite");
  5. async function requireHostingSite(options) {
  6. if (options.site) {
  7. return Promise.resolve();
  8. }
  9. const site = await (0, getDefaultHostingSite_1.getDefaultHostingSite)(options);
  10. options.site = site;
  11. }
  12. exports.requireHostingSite = requireHostingSite;