decord/source/__polyfill/00xxx/module_864.js
github-actions e510164e6b chore: update source for alpha 346.2
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4759.js (118.4 MB)
2026-09-10 05:38:07 +00:00

32 lines
692 B
JavaScript

// Module ID: 864
// Function ID: 865
// Dependencies: [82]
// Exports: default
// Module 864
import _modDef82 from "module_82" /* 82 */;
importDefault = arg2;
const dependencyMap = arg6;
export default function getDevServer() {
let str = first;
if (undefined === first) {
str2 = _modDef82.getConstants().scriptURL;
const match = str2.match(/^https?:\/\/.*?\//);
first = null;
if (match) {
first = match[0];
}
let tmp5 = null;
if (match) {
tmp5 = str2;
}
str2 = tmp5;
str = first;
}
if (str == null) {
str = "http://localhost:8081/";
}
return { url: str, fullBundleUrl: str2, bundleLoadedFromServer: null !== first };
};