But then, when I try to reference it from the Squarespace site, I get a CORS error:
Access to script at 'https://static1.squarespace.com/static/57014b5b746fb963478e3d4f/t/5d7ba83d4e25b616833d896b/1568385085375/runtime-es2015.js' (redirected from 'https://brooke-meek.squarespace.com/s/runtime-es2015.js') from origin 'https://brooke-meek.squarespace.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
CORS error referencing JavaScript files
in Customize with code
Posted · Edited by popsovy
Initial Revision
Using this method to upload a Javascript file
But then, when I try to reference it from the Squarespace site, I get a CORS error:
Am I doing something wrong here?