Skip to content

Commit

Permalink
More CORS for c4dt.
Browse files Browse the repository at this point in the history
  • Loading branch information
martinalig committed Jan 26, 2021
1 parent c1d8581 commit 4c506b8
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
import org.springframework.http.ResponseEntity;
import org.springframework.security.core.annotation.AuthenticationPrincipal;
import org.springframework.stereotype.Controller;
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;
Expand All @@ -39,6 +40,7 @@

@Controller
@RequestMapping("/v1")
@CrossOrigin(origins = { "https://notify-me.c4dt.org" })
public class NotifyMeController {
private static final String HEADER_X_KEY_BUNDLE_TAG = "x-key-bundle-tag";

Expand Down

0 comments on commit 4c506b8

Please sign in to comment.