Skip to content

Commit

Permalink
add platform and version to default config backend url
Browse files Browse the repository at this point in the history
  • Loading branch information
sayan-rudder committed May 19, 2020
1 parent 85b84ff commit 3ff4eed
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion utils/constants.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { version } from "../package.json";
//Message Type enumeration
let MessageType = {
TRACK: "track",
Expand Down Expand Up @@ -69,7 +70,7 @@ let RudderIntegrationPlatform = {
};

let BASE_URL = "https://hosted-dataplane.rudderstack.com"; // default to RudderStack
let CONFIG_URL = "https://api.rudderlabs.com/sourceConfig"; //"https://api.rudderlabs.com/workspaceConfig";
let CONFIG_URL = "https://api.rudderlabs.com/sourceConfig/?p=web&v=" + version; //"https://api.rudderlabs.com/workspaceConfig";

let FLUSH_QUEUE_SIZE = 30;

Expand Down

0 comments on commit 3ff4eed

Please sign in to comment.