Skip to content

Commit

Permalink
Support for CORS headers adobe#74
Browse files Browse the repository at this point in the history
  • Loading branch information
mpiggott committed Aug 28, 2021
1 parent bfee07a commit 2957d40
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@
import org.springframework.http.MediaType;
import org.springframework.http.ResponseEntity;
import org.springframework.util.StringUtils;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestHeader;
Expand All @@ -113,6 +114,7 @@
/**
* Controller to handle http requests.
*/
@CrossOrigin(origins = "*")
@RestController
class FileStoreController {

Expand Down

0 comments on commit 2957d40

Please sign in to comment.