diff --git a/inngest-spring-boot-adapter/src/main/java/com/inngest/springboot/InngestController.java b/inngest-spring-boot-adapter/src/main/java/com/inngest/springboot/InngestController.java index 81af3788..5c83cbde 100644 --- a/inngest-spring-boot-adapter/src/main/java/com/inngest/springboot/InngestController.java +++ b/inngest-spring-boot-adapter/src/main/java/com/inngest/springboot/InngestController.java @@ -31,7 +31,6 @@ public ResponseEntity index( @RequestHeader(HttpHeaders.HOST) String hostHeader, HttpServletRequest request ) { - String origin = String.format("%s://%s", request.getScheme(), hostHeader); if (this.inngestOrigin != null && !this.inngestOrigin.isEmpty()) { origin = this.inngestOrigin; diff --git a/inngest-spring-boot-demo/src/test/java/com/inngest/springbootdemo/SpringBootDemoApplicationTests.java b/inngest-spring-boot-demo/src/test/java/com/inngest/springbootdemo/SpringBootDemoApplicationTests.java index b63afa2a..93cb8d29 100644 --- a/inngest-spring-boot-demo/src/test/java/com/inngest/springbootdemo/SpringBootDemoApplicationTests.java +++ b/inngest-spring-boot-demo/src/test/java/com/inngest/springbootdemo/SpringBootDemoApplicationTests.java @@ -21,7 +21,7 @@ @AutoConfigureMockMvc @Execution(ExecutionMode.CONCURRENT) class SpringBootDemoApplicationIntegrationTest { - @Value("${TEST_URL:http://localhost:8080}") + @Value("${TEST_URL:http://localhost:8090}") private String testUrl; @Autowired