Update dependencies
This commit is contained in:
@@ -2,7 +2,6 @@ package com.mattrixwv.cipherstream.config;
|
||||
|
||||
|
||||
import org.springframework.beans.factory.annotation.Value;
|
||||
import org.springframework.lang.NonNull;
|
||||
import org.springframework.stereotype.Component;
|
||||
import org.springframework.web.servlet.config.annotation.CorsRegistry;
|
||||
import org.springframework.web.servlet.config.annotation.EnableWebMvc;
|
||||
@@ -17,7 +16,7 @@ public class WebConfig implements WebMvcConfigurer{
|
||||
|
||||
|
||||
@Override
|
||||
public void addCorsMappings(@NonNull CorsRegistry registry){
|
||||
public void addCorsMappings(CorsRegistry registry){
|
||||
registry.addMapping("/**")
|
||||
.allowedOriginPatterns(allowedOrigins);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user