File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed
examples/java/com/devcycle/examples
main/java/com/devcycle/sdk/server/common/interceptor Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -25,9 +25,7 @@ public static void main(String[] args) throws InterruptedException {
25
25
26
26
DevCycleLocalOptions options = DevCycleLocalOptions .builder ()
27
27
.configPollingIntervalMS (60000 )
28
- .disableAutomaticEventLogging (false )
29
28
.customLogger (new SimpleDevCycleLogger (SimpleDevCycleLogger .Level .DEBUG ))
30
- .disableCustomEventLogging (false )
31
29
.enableBetaRealtimeUpdates (true )
32
30
.build ();
33
31
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ public CustomHeaderInterceptor(IRestOptions restOptions) {
23
23
public Response intercept (Chain chain ) throws IOException {
24
24
Request request = chain .request ();
25
25
26
- if (restOptions != null && chain . request (). url (). url (). getHost (). contains ( "devcycle" ) ) {
26
+ if (restOptions != null ) {
27
27
Request .Builder builder = request .newBuilder ();
28
28
29
29
for (Map .Entry <String , String > entry : restOptions .getHeaders ().entrySet ()) {
You can’t perform that action at this time.
0 commit comments