Комментарии
This commit is contained in:
@@ -7,7 +7,7 @@ import jakarta.ws.rs.container.ContainerResponseContext;
|
|||||||
import jakarta.ws.rs.container.ContainerResponseFilter;
|
import jakarta.ws.rs.container.ContainerResponseFilter;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Разрешает CORS для всех доменов, чтобы клиенты могли обращаться к CDN напрямую из браузера
|
* Разрешает CORS для всех доменов, чтобы клиенты могли обращаться напрямую из браузера
|
||||||
*/
|
*/
|
||||||
public class CorsFilter implements ContainerResponseFilter {
|
public class CorsFilter implements ContainerResponseFilter {
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user