"'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
Software engineer, creates plugins for Flatboard, checks source codes, and answers any software errors questions and contributes on the GitHub page as well

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: *');
  • Before ask a question, read the documentation.
  • 🎉  Featured as #1 product of the day on Product Hunt
  • Please like in alternativeto.net 👍🏻
  • ╰☆╮Flatboard╰☆╮ is a open source and community contributions are essential to project success!
  • <TextField>, my new CMS project designed by a passionate developer, for developers!
  • I am currently busy 😫.

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:09
Software engineer, creates plugins for Flatboard, checks source codes, and answers any software errors questions and contributes on the GitHub page as well