diff --git a/src/main/java/com/olympus/hermione/controllers/CanvasController.java b/src/main/java/com/olympus/hermione/controllers/CanvasController.java index 8defbb1..8d21e8b 100644 --- a/src/main/java/com/olympus/hermione/controllers/CanvasController.java +++ b/src/main/java/com/olympus/hermione/controllers/CanvasController.java @@ -1,7 +1,6 @@ package com.olympus.hermione.controllers; import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.web.bind.annotation.CrossOrigin; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RestController; @@ -12,7 +11,6 @@ import com.olympus.hermione.services.CanvasExecutionService; @RestController -@CrossOrigin public class CanvasController { @Autowired diff --git a/src/main/java/com/olympus/hermione/controllers/ScenarioController.java b/src/main/java/com/olympus/hermione/controllers/ScenarioController.java index 3d90a40..e6a30ae 100644 --- a/src/main/java/com/olympus/hermione/controllers/ScenarioController.java +++ b/src/main/java/com/olympus/hermione/controllers/ScenarioController.java @@ -1,7 +1,6 @@ package com.olympus.hermione.controllers; import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.web.bind.annotation.CrossOrigin; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.PostMapping; @@ -18,7 +17,6 @@ import com.olympus.hermione.services.ScenarioExecutionService; import org.springframework.web.bind.annotation.RequestBody; @RestController -@CrossOrigin public class ScenarioController { @Autowired diff --git a/src/main/java/com/olympus/hermione/security/controllers/AuthController.java b/src/main/java/com/olympus/hermione/security/controllers/AuthController.java index c1bd6d3..598cb58 100644 --- a/src/main/java/com/olympus/hermione/security/controllers/AuthController.java +++ b/src/main/java/com/olympus/hermione/security/controllers/AuthController.java @@ -7,7 +7,6 @@ import org.springframework.security.authentication.AuthenticationManager; import org.springframework.security.authentication.UsernamePasswordAuthenticationToken; import org.springframework.security.core.Authentication; import org.springframework.security.core.context.SecurityContextHolder; -import org.springframework.web.bind.annotation.CrossOrigin; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; @@ -21,7 +20,6 @@ import com.olympus.hermione.security.entity.User; import com.olympus.hermione.security.utility.JwtTokenProvider; @RestController -@CrossOrigin @RequestMapping("/api/auth") public class AuthController { diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 0a5a804..942a458 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -19,4 +19,4 @@ neo4j.username=neo4j neo4j.password=8SrSqQ3q6q9PQNWtN9ozqSQfGce4lfh_n6kKz2JIubQ -hermione.fe.url="http://hermione.olympusai.live" \ No newline at end of file +hermione.fe.url= \ No newline at end of file