Skip to content

Commit

Permalink
chore: 크롬 익스텐션 Origin들 허용
Browse files Browse the repository at this point in the history
  • Loading branch information
plzprayme committed Dec 19, 2021
1 parent 445a987 commit 179a200
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public class WebMvcConfig implements WebMvcConfigurer {
@Override
public void addCorsMappings(CorsRegistry registry) {
registry.addMapping("/v1/**")
.allowedOrigins("http://localhost:3000", "https://sgsg.name")
.allowedOrigins("http://localhost:3000", "https://sgsg.name","chrome-extension://mbaagcnmdjpechkaefcpcnbnmjbeddpc/popup.html", "chrome-extension://cbcfldfiodebkafgjhiokikamikajekn/popup.html")
.allowedMethods("GET", "POST", "PUT", "DELETE")
.allowedHeaders("Authorization", "Content-Type")
.allowCredentials(true)
Expand Down

0 comments on commit 179a200

Please sign in to comment.