Skip to content

Commit 9312495

Browse files
committed
reduce update latency by using new config endpoint
1 parent 911a44d commit 9312495

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

js-client-sdk-common.api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
import { AxiosInstance } from 'axios';
88

99
// @public (undocumented)
10-
const BASE_URL = "https://eppo.cloud/api";
10+
const BASE_URL = "https://fscdn.eppo.cloud/api";
1111

1212
declare namespace constants {
1313
export {

src/constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
export const REQUEST_TIMEOUT_MILLIS = 5000;
2-
export const BASE_URL = 'https://eppo.cloud/api';
2+
export const BASE_URL = 'https://fscdn.eppo.cloud/api';
33
export const SESSION_ASSIGNMENT_CONFIG_LOADED = 'eppo-session-assignment-config-loaded';
44
export const NULL_SENTINEL = 'EPPO_NULL';
55
// number of logging events that may be queued while waiting for initialization

src/experiment-configuration-requestor.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { IConfigurationStore } from './configuration-store';
22
import { IExperimentConfiguration } from './dto/experiment-configuration-dto';
33
import HttpClient from './http-client';
44

5-
const RAC_ENDPOINT = '/randomized_assignment/v2/config';
5+
const RAC_ENDPOINT = '/randomized_assignment/v3/config';
66

77
interface IRandomizedAssignmentConfig {
88
flags: Record<string, IExperimentConfiguration>;

0 commit comments

Comments
 (0)