Hi Graham, I've added the JS for visual editor as ...
# ask-questions
w
Hi Graham, I've added the JS for visual editor as per instructions to this page -- https://www.lbfastly.com/Project%20Cache-Me!.html But I keep getting the message in visual editor that it can't find it
f
Usually there will be a more informative message in teh console
w
For the container in my I checked that the issue is -- has been blocked by CORS policy:
let me fix that
not sure why it allows localhost but blocks to other ips
f
thats normal behaviour
w
oh ok
need to find way to enable access control headers in k8s load balancer
FYI I couldn't find anything in k8s docs to fix LB CORS issues so I've added my API backend to my CDN and routing via there to avoid CORS errors
it's working fine now