From e1a71cac0c802d03854cf8d78301f423d9ce978f Mon Sep 17 00:00:00 2001 From: Xiaoran Zhou Date: Thu, 7 Nov 2024 16:42:17 +0100 Subject: [PATCH] remove cross origin --- .../biosamples/controller/BioSampleSubmissionController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repository-services/isajson-biosamples/src/main/java/com/elixir/biohackaton/ISAToSRA/biosamples/controller/BioSampleSubmissionController.java b/repository-services/isajson-biosamples/src/main/java/com/elixir/biohackaton/ISAToSRA/biosamples/controller/BioSampleSubmissionController.java index ed3fe0a..59797b2 100644 --- a/repository-services/isajson-biosamples/src/main/java/com/elixir/biohackaton/ISAToSRA/biosamples/controller/BioSampleSubmissionController.java +++ b/repository-services/isajson-biosamples/src/main/java/com/elixir/biohackaton/ISAToSRA/biosamples/controller/BioSampleSubmissionController.java @@ -37,7 +37,7 @@ public class BioSampleSubmissionController { @ApiResponse(responseCode = "408", description = "Request Timeout"), @ApiResponse(responseCode = "415", description = "Unsupported media type") }) - @CrossOrigin(origins = "http://localhost:8000") +// @CrossOrigin(origins = "http://localhost:8000") @PostMapping( value = "/submit", consumes = {APPLICATION_JSON_VALUE, APPLICATION_XML_VALUE})