Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
LinMoQC committed Apr 30, 2024
1 parent acf2f0e commit e010d04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/linmoblog/server/Config/CrossConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public class CrossConfig implements WebMvcConfigurer {
@Override
public void addCorsMappings(CorsRegistry registry) {
registry.addMapping("/api/**")
.allowedOrigins("http://127.0.0.1:81")
.allowedOrigins("http://127.0.0.1")
.allowedMethods("GET", "POST", "PUT", "DELETE")
.maxAge(3600);
}
Expand Down

0 comments on commit e010d04

Please sign in to comment.