Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for getApiCorsAllowOriginList (0.11 sec)

  1. src/main/java/org/codelibs/fess/cors/DefaultCorsHandler.java

        @PostConstruct
        public void register() {
            final CorsHandlerFactory factory = ComponentUtil.getCorsHandlerFactory();
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            fessConfig.getApiCorsAllowOriginList().forEach(s -> factory.add(s, this));
        }
    
        @Override
        public void process(final String origin, final ServletRequest request, final ServletResponse response) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 2K bytes
    - Viewed (0)
Back to top