decord/source/modules/gateway/GatewayAltEndpointExperiment.tsx

18 lines
825 B
TypeScript
Raw Normal View History

2026-07-27 11:26:19 +00:00
// Module ID: 13539
// Function ID: 104235
2026-07-20 16:05:17 +00:00
// Name: USE_ALT_GATEWAY_KEY
2026-07-27 11:26:19 +00:00
// Dependencies: [1428, 2, 13540]
2026-07-20 16:05:17 +00:00
// Exports: useShouldUseAltGateway
2026-07-27 11:26:19 +00:00
// Module 13539 (USE_ALT_GATEWAY_KEY)
2026-07-23 10:11:24 +00:00
import ApexExperiment from "ApexExperiment";
2026-07-20 16:05:17 +00:00
2026-07-23 10:11:24 +00:00
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;
2026-07-20 16:05:17 +00:00
export const useShouldUseAltGateway = function useShouldUseAltGateway(App) {
return closure_0.useConfig({ location: App }).enableAltGateway;
};