Search Options

Results per page
Sort
Preferred Languages
Advance

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

        String QUERY_HIGHLIGHT_BOUNDARY_CHARS = "queryHighlightBoundaryChars";
    
        String QUERY_TRACK_TOTAL_HITS_VALUE = "queryTrackTotalHitsValue";
    
        String CORS_ALLOW_ORIGIN = "CorsAllowOrigin";
    
        String API_DASHBOARD_RESPONSE_HEADER_LIST = "apiDashboardResponseHeaderList";
    
        String API_JSON_RESPONSE_HEADER_LIST = "apiJsonResponseHeaderList";
    
    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