Skip to content

Commit

Permalink
Merge pull request #205 from DDD-5/chore/add_allow_origins
Browse files Browse the repository at this point in the history
chore: 크롬 익스텐션 Origin들 허용
  • Loading branch information
plzprayme authored Dec 19, 2021
2 parents 445a987 + 179a200 commit 4a7ef08
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 4a7ef08

Please sign in to comment.