Centova Technologies Forum

Centova Cast v3 => Bugs and issues => Topic started by: yorkshirefm on May 20, 2019, 11:12:16 am

Title: Enabling CORS
Post by: yorkshirefm on May 20, 2019, 11:12:16 am
Good evening,

I'm trying to enable CORS requests from any domain so that my dev can test some bits and bobs. ... however... when I remove the # from the below line it doesn't work anyway;

#SESSION_API_CORS_ORIGIN=*

Can you advise ?
Title: Re: Enabling CORS
Post by: scysys on June 03, 2019, 07:51:23 am
Maybe you does not restarted Centova after removing the # part.
Title: Re: Enabling CORS
Post by: gelson62 on March 20, 2020, 12:45:59 pm
Maybe you does not restarted Centova after removing the # part.

I have the same problem. After removing the "#" I have restarted centovacast server but CORS it does not work. I have tested it via http://test-cors.org/
Title: Re: Enabling CORS
Post by: Alliance on October 01, 2020, 04:00:31 am
Good evening,

I'm trying to enable CORS requests from any domain so that my dev can test some bits and bobs. ... however... when I remove the # from the below line it doesn't work anyway;

#SESSION_API_CORS_ORIGIN=*

Can you advise ?

Greetings, could you share where this configuration should be done?
Thanks a lot.
Title: Re: Enabling CORS
Post by: scysys on October 01, 2020, 01:47:56 pm
Good evening,

I'm trying to enable CORS requests from any domain so that my dev can test some bits and bobs. ... however... when I remove the # from the below line it doesn't work anyway;

#SESSION_API_CORS_ORIGIN=*

Can you advise ?

Greetings, could you share where this configuration should be done?
Thanks a lot.

Look here: https://centova.com/doc/cast/internals/advanced_configurations/using_centovacast_conf