Files
discord-decomp/_bundle/getDevServer_999.js
T
2026-11-01 12:12:55 +02:00

23 lines
559 B
JavaScript

// Metro module 999 (f1000).
import Module82 from "./Module82";
let c822_2, scriptURL;
export default function getDevServer() {
let url = c822_2;
if (url === void 0) {
const scriptURL2 = Module82.getConstants().scriptURL;
const r6 = scriptURL2.match(/^https?:\/\/.*?\//);
const r13 = r6 ? r6[0] : null;
c822_2 = r13;
scriptURL = r6 ? scriptURL2 : null;
url = r13;
}
if (url == null) {
url = "http://localhost:8081/";
}
return {
url,
fullBundleUrl: scriptURL,
bundleLoadedFromServer: c822_2 !== null
};
};