We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 82df979 commit 3f817b5Copy full SHA for 3f817b5
edgeworker.js
@@ -47,6 +47,7 @@ let defaultConfig = DefaultConfig;
47
let defaultConfigUpdated = false;
48
// Account ID
49
let ACCOUNT_ID = defaultConfig.accountId;
50
+let eventsEndpoint = defaultConfig.optlyEventsEndpoint;
51
52
/**
53
* KV_STORAGE_ENABLED = coniguration will be downloaded from KV store
@@ -286,8 +287,7 @@ async function httpDispatcher(payload) {
286
287
"Content-Length": jsonPayload.length,
288
};
289
options.body = jsonPayload;
- //const url = "https://ew-optly-agent.optimizely.com/v1/events";
290
- const url = "https://ew.logx.optimizely.com/v1/events";
+ const url = eventsEndpoint;
291
292
try {
293
const response = await httpRequest(url, options);
0 commit comments