I started a server with SSL support with the domain pointing to 127.0.0.1.
I've also added the header in the handler:
	
	
	
	
	
	
	
		
			
			
			
			
			
		
	
	
	
		
	
	
		
	
But I am still getting the preflight CORS issue on Chrome.
	
	
	
	
	
	
	
		
			
			
			
			
			
		
	
	
	
		
	
	
		
	
Are there any solutions?
			
			I've also added the header in the handler:
			
				B4X:
			
		
		
		resp.SetHeader("Access-Control-Allow-Origin","*")
resp.setHeader("Access-Control-Allow-Methods", "POST, GET, OPTIONS, HEAD, DELETE, PUT")
resp.setHeader("Access-Control-Max-Age", "3600")
resp.setHeader("Access-Control-Allow-Headers", "Access-Control-Allow-Headers, Origin, Accept, X-Requested-With, Content-Type, Access-Control-Request-Method, Access-Control-Request-Headers, Authorization, api_key")But I am still getting the preflight CORS issue on Chrome.
			
				B4X:
			
		
		
		Access to fetch at 'https://local.basiccat.org:51043/' from origin 'https://ac.qq.com' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.Are there any solutions?
 
				 
 
		 
 
		 
 
		 
 
		 
 
		