Skip to content

Commit

Permalink
CORS config added
Browse files Browse the repository at this point in the history
  • Loading branch information
harshjohar committed Feb 1, 2024
1 parent 2f712e7 commit 366706b
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,14 @@
import jakarta.servlet.http.HttpServletResponse;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.core.Ordered;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Component;

import java.io.IOException;

@Component
@Order(Ordered.HIGHEST_PRECEDENCE)
public class SimpleCORSFilter implements Filter {

private final Logger log = LoggerFactory.getLogger(SimpleCORSFilter.class);
Expand Down

0 comments on commit 366706b

Please sign in to comment.