Skip to content

Commit 322f0f3

Browse files
committed
infra: deprecate edge assignments bespoke URL; route via fscdn.eppo.cloud
1 parent 1d5a1e6 commit 322f0f3

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

src/constants.ts

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,10 @@ export const DEFAULT_POLL_INTERVAL_MS = 30000;
66
export const POLL_JITTER_PCT = 0.1;
77
export const DEFAULT_INITIAL_CONFIG_REQUEST_RETRIES = 1;
88
export const DEFAULT_POLL_CONFIG_REQUEST_RETRIES = 7;
9-
export const BASE_URL = 'https://fscdn.eppo.cloud/api';
10-
export const UFC_ENDPOINT = '/flag-config/v1/config';
11-
export const BANDIT_ENDPOINT = '/flag-config/v1/bandits';
12-
export const PRECOMPUTED_BASE_URL = 'https://fs-edge-assignment.eppo.cloud';
13-
export const PRECOMPUTED_FLAGS_ENDPOINT = '/assignments';
9+
export const BASE_URL = 'https://fscdn.eppo.cloud';
10+
export const UFC_ENDPOINT = '/api/flag-config/v1/config';
11+
export const BANDIT_ENDPOINT = '/api/flag-config/v1/bandits';
12+
export const PRECOMPUTED_FLAGS_ENDPOINT = '/edge/assignments';
1413
export const SESSION_ASSIGNMENT_CONFIG_LOADED = 'eppo-session-assignment-config-loaded';
1514
export const NULL_SENTINEL = 'EPPO_NULL';
1615
// number of logging events that may be queued while waiting for initialization

0 commit comments

Comments
 (0)