feat[first]: initial commit: add user authentication and article management features
This commit is contained in:
parent
1932685cbe
commit
14a3747463
@ -10,7 +10,7 @@ public class WebConfig implements WebMvcConfigurer {
|
||||
@Override
|
||||
public void addCorsMappings(CorsRegistry registry) {
|
||||
registry.addMapping("/api/**")
|
||||
.allowedOrigins("https://dev.d.ctf.arrobe.fr", "http://localhost:5173")
|
||||
.allowedOrigins("http://dev.d.ctf.arrobe.fr", "http://localhost:5173")
|
||||
.allowedMethods("GET", "POST", "PUT", "DELETE", "OPTIONS")
|
||||
.allowedHeaders("*")
|
||||
.allowCredentials(true);
|
||||
|
Loading…
x
Reference in New Issue
Block a user