File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
src/main/java/com/featureprobe/sdk/example Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -66,8 +66,8 @@ public class Demo {
66
66
// FeatureProbe server URL for local docker
67
67
// .remoteUri("http://127.0.0.1:4007")
68
68
// FeatureProbe server URL for featureprobe.io
69
- .eventUrl(new URL (" https://featureprobe.io/api/ server/events" ))
70
- .synchronizerUrl(new URL (" https://featureprobe.io/api/server/toggles" ))
69
+ .eventUrl(new URL (" https://featureprobe.io/server/api /events" ))
70
+ .synchronizerUrl(new URL (" https://featureprobe.io/server/ api/server-sdk /toggles" ))
71
71
.pollingMode(Duration . ofSeconds(3 ))
72
72
.useMemoryRepository()
73
73
.build();
@@ -87,8 +87,8 @@ public class Demo {
87
87
// FeatureProbe server URL for local docker
88
88
// .remoteUri("http://127.0.0.1:4007")
89
89
// FeatureProbe server URL for featureprobe.io
90
- .eventUrl(new URL (" https://featureprobe.io/api/ server/events" ))
91
- .synchronizerUrl(new URL (" https://featureprobe.io/api/server/toggles" ))
90
+ .eventUrl(new URL (" https://featureprobe.io/server/api /events" ))
91
+ .synchronizerUrl(new URL (" https://featureprobe.io/server/ api/server-sdk /toggles" ))
92
92
.pollingMode(Duration . ofSeconds(3 ))
93
93
.useMemoryRepository()
94
94
.build();
Original file line number Diff line number Diff line change @@ -18,8 +18,8 @@ public class FeatureProbeDemo {
18
18
// private static final String FEATURE_PROBE_SERVER_URL = "http://localhost:4007";
19
19
20
20
// FeatureProbe server URL for featureprobe.io
21
- private static final String FEATURE_PROBE_IO_EVENT_URL = "https://featureprobe.io/api/ server/events" ;
22
- private static final String FEATURE_PROBE_IO_synchronizer_URL = "https://featureprobe.io/api/server/toggles" ;
21
+ private static final String FEATURE_PROBE_IO_EVENT_URL = "https://featureprobe.io/server/api /events" ;
22
+ private static final String FEATURE_PROBE_IO_synchronizer_URL = "https://featureprobe.io/server/ api/server-sdk /toggles" ;
23
23
24
24
// Server Side SDK Key for your project and environment
25
25
public static final String SERVER_SDK_KEY = "server-8ed48815ef044428826787e9a238b9c6a479f98c" ;
You can’t perform that action at this time.
0 commit comments