We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ac443c commit 7d512e2Copy full SHA for 7d512e2
src/main/java/spring/memewikibe/config/WebConfig.java
@@ -10,7 +10,7 @@ public class WebConfig implements WebMvcConfigurer {
10
@Override
11
public void addCorsMappings(CorsRegistry registry) {
12
registry.addMapping("/**")
13
- .allowedOrigins("http://localhost:3000", "http://localhost:8080", "http://localhost:5173", "https://api.meme-wiki.net")
+ .allowedOrigins("http://localhost:3000", "http://localhost:8080", "http://localhost:5173", "https://api.meme-wiki.net", "https://meme-wiki.net")
14
.allowedMethods("GET", "POST", "PUT", "DELETE", "OPTIONS")
15
.allowedHeaders("*")
16
.allowCredentials(true);
0 commit comments