decord/source/modules/gateway/GatewayAltEndpointExperiment.tsx

17 lines
758 B
TypeScript
Raw Normal View History

2026-07-21 06:55:02 +00:00
// Module ID: 13351
// Function ID: 101565
2026-07-20 16:05:17 +00:00
// Name: USE_ALT_GATEWAY_KEY
// Dependencies: []
// Exports: useShouldUseAltGateway
2026-07-21 06:55:02 +00:00
// Module 13351 (USE_ALT_GATEWAY_KEY)
2026-07-20 16:05:17 +00:00
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;
};