decord/source/modules/gateway/GatewayAltEndpointExperiment.tsx
2026-07-21 22:01:30 +00:00

16 lines
758 B
TypeScript

// Module ID: 13353
// Function ID: 101587
// Name: USE_ALT_GATEWAY_KEY
// Dependencies: []
// Exports: useShouldUseAltGateway
// Module 13353 (USE_ALT_GATEWAY_KEY)
const _module = require(dependencyMap[0]);
let closure_0 = _module.createApexExperiment({ defaultConfig: { enableAltGateway: false }, variations: { [1]: { enableAltGateway: false }, [2]: { enableAltGateway: true } } });
const _module1 = require(dependencyMap[1]);
const result = _module1.fileFinishedImporting("modules/gateway/GatewayAltEndpointExperiment.tsx");
export const USE_ALT_GATEWAY_KEY = require(dependencyMap[2]).USE_ALT_GATEWAY_KEY;
export const useShouldUseAltGateway = function useShouldUseAltGateway(App) {
return closure_0.useConfig({ location: App }).enableAltGateway;
};