feat[first]: initial commit: add user authentication and article management features

This commit is contained in:
Aleks 2025-03-31 22:27:41 +02:00
parent 1932685cbe
commit 14a3747463

View File

@ -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);