Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for cors_allow_origin (0.17 sec)

  1. internal/config/api/api.go

    		GzipObjects:   gzipObjects,
    		RootAccess:    rootAccess,
    	}
    
    	var corsAllowOrigin []string
    	corsList := env.Get(EnvAPICorsAllowOrigin, kvs.Get(apiCorsAllowOrigin))
    	if corsList == "" {
    		corsAllowOrigin = []string{"*"} // defaults to '*'
    	} else {
    		corsAllowOrigin = strings.Split(corsList, ",")
    		for _, cors := range corsAllowOrigin {
    			if cors == "" {
    				return cfg, errors.New("invalid cors value")
    			}
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Aug 16 08:43:49 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

            @SuppressWarnings("unchecked")
            List<String> list = (List<String>) propMap.get(CORS_ALLOW_ORIGIN);
            if (list == null) {
                list = split(getApiCorsAllowOrigin(), "\n")
                        .get(stream -> stream.map(String::trim).filter(StringUtil::isNotEmpty).collect(Collectors.toList()));
                propMap.put(CORS_ALLOW_ORIGIN, list);
            }
            return list;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:15 UTC 2024
    - 87.2K bytes
    - Viewed (0)
  3. docs/config/README.md

    ARGS:
    requests_max                    (number)    set the maximum number of concurrent requests (default: 'auto')
    cluster_deadline                (duration)  set the deadline for cluster readiness check (default: '10s')
    cors_allow_origin               (csv)       set comma separated list of origins allowed for CORS requests (default: '*')
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Aug 16 08:43:49 UTC 2024
    - 17.9K bytes
    - Viewed (1)
  4. cmd/testdata/undeleteable-object.tgz

    true§MetaUsr‚¤etagÙ d6566afb36d109141150¬content-type°application/json¡v ÎÆ ª ¤nullÅ ,RZ¾G„ åZ. …è• 3·Õ§f áÒ@‡m R ç¡{"api":{"_":[{"key":"requests_max","value":"0"},{"key":"requests_deadline","value":"10s"},{"key":"cluster_deadline","value":"10s"},{"key":"cors_allow_origin","value":"*"},{"key":"remote_transport_deadline","value":"2h"},{"key":"list_quorum","value":"strict"},{"key":"replication_priority","value":"auto"},{"key":"replication_max_workers","value":"500"},{"key":"transition_workers","value":"100"},{"...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 26 00:31:12 UTC 2024
    - 8.7M bytes
    - Viewed (0)
  5. cmd/handler-api.go

    	if clusterDeadline == 0 {
    		clusterDeadline = 10 * time.Second
    	}
    	t.clusterDeadline = clusterDeadline
    	corsAllowOrigin := cfg.CorsAllowOrigin
    	if len(corsAllowOrigin) == 0 {
    		corsAllowOrigin = []string{"*"}
    	}
    	t.corsAllowOrigins = corsAllowOrigin
    
    	var apiRequestsMaxPerNode int
    	if cfg.RequestsMax <= 0 {
    		maxSetDrives := slices.Max(setDriveCounts)
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 26 17:07:10 UTC 2024
    - 10.4K bytes
    - Viewed (0)
Back to top