"'https://flatboard.org/version.php" is blocked by CORS

SurveyBuilder-Admin
"'https://flatboard.org/version.php" is blocked by CORS
SurveyBuilder-Admin Friday 25th February 2022, 11:15:40

Hay, I got an error in the console that says flatboard is blocked by CORS:
Access to XMLHttpRequest at 'https://flatboard.org/version.php' from origin 'https://mydomain.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.


I think you can just use github to run your version.php or just use latest_version from the github page where people can get info if there is an update... I think that can work

Replies 2
Fred
Fred  Friday 25th February 2022, 15:11:20

Hi SurveyBuilder-Admin,
Thank for your feedbacks.
Try again i just change version.php file to add header('Access-Control-Allow-Origin: *');

SurveyBuilder-Admin
SurveyBuilder-Admin  Friday 25th February 2022, 15:22:22

 

Ok, I will

Last modified by SurveyBuilder-Admin on Friday 25th February 2022, 15:49:00