Skip to content

Commit 7d512e2

Browse files
authored
Update WebConfig.java
1 parent 5ac443c commit 7d512e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/spring/memewikibe/config/WebConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ public class WebConfig implements WebMvcConfigurer {
1010
@Override
1111
public void addCorsMappings(CorsRegistry registry) {
1212
registry.addMapping("/**")
13-
.allowedOrigins("http://localhost:3000", "http://localhost:8080", "http://localhost:5173", "https://api.meme-wiki.net")
13+
.allowedOrigins("http://localhost:3000", "http://localhost:8080", "http://localhost:5173", "https://api.meme-wiki.net", "https://meme-wiki.net")
1414
.allowedMethods("GET", "POST", "PUT", "DELETE", "OPTIONS")
1515
.allowedHeaders("*")
1616
.allowCredentials(true);

0 commit comments

Comments
 (0)