Disabling Duplicate CORS (Cross-Origin Resource Sharing) in Cube.js

How can I deactivate cors since the cubejs api I plan to pass it through spring cloud gateway which already has cors and I only need it to issue me a single * and it does not give me an error for duplicating **

you can disable cube.js cors options with

{
	
	http: {
	    cors: {

	      origin:false
	    }
	}
}
3 Likes