PHP WebShell
Текущая директория: /opt/BitGoJS/node_modules/@stacks/common/dist
Просмотр файла: fetchUtil.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.fetchPrivate = void 0;
require("cross-fetch/polyfill");
async function fetchPrivate(input, init) {
const defaultFetchOpts = {
referrer: 'no-referrer',
referrerPolicy: 'no-referrer',
};
const fetchOpts = Object.assign(defaultFetchOpts, init);
const fetchResult = await fetch(input, fetchOpts);
return fetchResult;
}
exports.fetchPrivate = fetchPrivate;
//# sourceMappingURL=fetchUtil.js.mapВыполнить команду
Для локальной разработки. Не используйте в интернете!