Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,29 @@
|
||||
/* Metro module 13083; source: modules/soundboard/getSoundboardSoundURL.tsx; dependencies: [661, 2] */
|
||||
function _fun99964(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#99964, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13273:6, offset: 0x021daadd, size: 109 bytes, params: 8, frame: 18
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const env0_0 = (require(661) /* metro dependency 661: Constants */).Endpoints;
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/soundboard/getSoundboardSoundURL.tsx');
|
||||
exports.default = getSoundboardSoundURL;
|
||||
}
|
||||
|
||||
function getSoundboardSoundURL(a0) { // fn#99965, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13273:204, offset: 0x021dab4a, size: 154 bytes, params: 2, frame: 18
|
||||
var r0;
|
||||
var protocol;
|
||||
var API_ENDPOINT;
|
||||
var value;
|
||||
const {CDN_HOST, PROJECT_ENV} = global.window.GLOBAL_ENV;
|
||||
if (PROJECT_ENV !== 'development') {
|
||||
value = Endpoints.SOUNDBOARD_SOUND(a0);
|
||||
value = 'https://' + CDN_HOST + value;
|
||||
r0 = value;
|
||||
} else {
|
||||
protocol = global.location.protocol;
|
||||
API_ENDPOINT = global.window.GLOBAL_ENV.API_ENDPOINT;
|
||||
value = Endpoints.SOUNDBOARD_SOUND(a0);
|
||||
value = '' + protocol + API_ENDPOINT + value;
|
||||
r0 = value;
|
||||
}
|
||||
return r0;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user