decord/source/999_getDevServer.js
2026-07-29 08:29:29 +00:00

31 lines
716 B
JavaScript

// Module ID: 999
// Function ID: 1000
// Name: getDevServer
// Dependencies: [82]
// Module 999 (getDevServer)
const module = arg2;
const dependencyMap = arg6;
arg5.default = function getDevServer() {
let str = first;
if (undefined === first) {
let obj = module(82);
const str2 = obj.getConstants().scriptURL;
const match = str2.match(/^https?:\/\/.*?\//);
first = null;
if (match) {
first = match[0];
}
let tmp5 = null;
if (match) {
tmp5 = str2;
}
let closure_3 = tmp5;
str = first;
}
if (str == null) {
str = "http://localhost:8081/";
}
obj = { url: str, fullBundleUrl: closure_3, bundleLoadedFromServer: null !== first };
return obj;
};