Am trying to include a couple of three js scripts in the background… have put in the custom code in footer like so-
<div id="container"></div> <script src="https://cdn.jsdelivr.net/gh/kala0606/kala.bioV1@main/app.c328ef1a.js" ></script> <div id="back"></div> <script src="https://cdn.jsdelivr.net/gh/kala0606/kala.bioV1@main/appback.f471d949.js"></script>
So I am getting 404 on all the assets the these scripts use…
So i setup the Base tag to my public git repo which has all these files - https://github.com/kala0606/kala.bioV1
But in the console its still 404 and its fetching from wrong URLs… like this -
Access to fetch at ‘https://github.com/sound.63cda73b.mp3’ from origin ‘https://kalas-bio.webflow.io’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource. If an opaque response serves your needs, set the request’s mode to ‘no-cors’ to fetch the resource with CORS disabled.
Its not fetching from the my repo, but straight from github.com/ URL… ? Weird…
Webflow site https://kalas-bio.webflow.io/