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 {
6666 // FeatureProbe server URL for local docker
6767 // .remoteUri("http://127.0.0.1:4007")
6868 // 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" ))
7171 .pollingMode(Duration . ofSeconds(3 ))
7272 .useMemoryRepository()
7373 .build();
@@ -87,8 +87,8 @@ public class Demo {
8787 // FeatureProbe server URL for local docker
8888 // .remoteUri("http://127.0.0.1:4007")
8989 // 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" ))
9292 .pollingMode(Duration . ofSeconds(3 ))
9393 .useMemoryRepository()
9494 .build();
Original file line number Diff line number Diff line change @@ -18,8 +18,8 @@ public class FeatureProbeDemo {
1818 // private static final String FEATURE_PROBE_SERVER_URL = "http://localhost:4007";
1919
2020 // 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" ;
2323
2424 // Server Side SDK Key for your project and environment
2525 public static final String SERVER_SDK_KEY = "server-8ed48815ef044428826787e9a238b9c6a479f98c" ;
You can’t perform that action at this time.
0 commit comments