Commit e21cab6b authored by Radheshhathwar's avatar Radheshhathwar
Browse files

CORS Changes testing

Showing with 2 additions and 1 deletion
+2 -1
......@@ -51,7 +51,8 @@ public class ExamsAndAdmissionsApplication {
public void addCorsMappings(CorsRegistry registry) {
registry.addMapping("/**")
.allowedMethods("GET", "POST", "PUT", "DELETE", "OPTIONS")
.allowedOriginPatterns("http://localhost:*")
.allowedOriginPatterns("*")
.maxAge(3600)
.allowedHeaders("*");
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment