diff --git a/src/main/java/com/linmoblog/server/Config/CrossConfig.java b/src/main/java/com/linmoblog/server/Config/CrossConfig.java index 5352cce..60082c8 100644 --- a/src/main/java/com/linmoblog/server/Config/CrossConfig.java +++ b/src/main/java/com/linmoblog/server/Config/CrossConfig.java @@ -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); }