8 lines
411 B
TypeScript
8 lines
411 B
TypeScript
// Metro module 13595 (f13596).
|
|
import { Endpoints } from "../../Constants";
|
|
export default function getSoundboardSoundURL(a0) {
|
|
const GLOBAL_ENV = window.GLOBAL_ENV;
|
|
const CDN_HOST = GLOBAL_ENV.CDN_HOST;
|
|
return GLOBAL_ENV.PROJECT_ENV !== "development" ? `https://${CDN_HOST}${Endpoints.SOUNDBOARD_SOUND(a0)}` : `${location.protocol}${window.GLOBAL_ENV.API_ENDPOINT}${Endpoints.SOUNDBOARD_SOUND(a0)}`;
|
|
};
|