Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getApiCorsAllowOriginList (0.09 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)
  2. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

                propMap.put(API_DASHBOARD_RESPONSE_HEADER_LIST, list);
            }
            return list;
        }
    
        String getApiCorsAllowOrigin();
    
        default List<String> getApiCorsAllowOriginList() {
            @SuppressWarnings("unchecked")
            List<String> list = (List<String>) propMap.get(CORS_ALLOW_ORIGIN);
            if (list == null) {
                list = split(getApiCorsAllowOrigin(), "\n")
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:15 UTC 2024
    - 87.2K bytes
    - Viewed (0)
Back to top