decord/source/modules/gateway/GatewayAltEndpointExperiment.tsx
2026-07-27 11:26:19 +00:00

17 lines
825 B
TypeScript

// Module ID: 13539
// Function ID: 104235
// Name: USE_ALT_GATEWAY_KEY
// Dependencies: [1428, 2, 13540]
// Exports: useShouldUseAltGateway
// Module 13539 (USE_ALT_GATEWAY_KEY)
import ApexExperiment from "ApexExperiment";
const obj = { name: "2026-07-aws-gateway", kind: "user", defaultConfig: { enableAltGateway: false }, variations: { [1]: { enableAltGateway: false }, [2]: { enableAltGateway: true } } };
let closure_0 = ApexExperiment.createApexExperiment(obj);
const result = require("USE_ALT_GATEWAY_KEY").fileFinishedImporting("modules/gateway/GatewayAltEndpointExperiment.tsx");
export const USE_ALT_GATEWAY_KEY = require("USE_ALT_GATEWAY_KEY").USE_ALT_GATEWAY_KEY;
export const useShouldUseAltGateway = function useShouldUseAltGateway(App) {
return closure_0.useConfig({ location: App }).enableAltGateway;
};