Description of the problem:
I’ve been running experiments for the past year where I access files in the data folder in order to generate trial lists for participants (context: these are in-lab, tablet-based experiments hosted through pavlovia).
This no longer seems possible: attempting to access those files at an address like https://run.pavlovia.org/[username]/[experiment_name]/data/[data_file_name]is now generating a “404 Not Found” message. I assume this may be due to CORS-related issue connected to the server migration. Is there any way this can be fixed or is there some workaround? It would be great to not have a disruption to these ongoing experiments.
Circling back to this - I’d love to know if this is an in-principle change with the new server (data files in the data folder on the server are no longer accessible) or if this is just a temporary glitch/ issue with migrating over to the new server. If the latter, is there a workaround?
It appears I was a bit over-zealous when upping the security on the new server. I have now corrected my excess of zeal and you should be able to access your result files programatically again. With my apologies for the interruption.
Incidentally, I will soon be deploying an API endpoint to access results in a more organic manner.