I have started a django app on an EC2 instance and I have added my static files(css, js, etc) onto a S3 bucket. After many hours last night I managed to get the static inages to load onto the pages when i viewed the EC2 public address Happy days.
But now i keep getting this error: I keep getting this error when i view inspect a web page "The Cross-Origin-Opener-Policy header has been ignored, because the URL's origin was untrustworthy. It was defined either in the final response or a redirect. Please deliver the response using the HTTPS protocol. You can also use the 'localhost' origin instead"
And none of my static images are loading. I can't find anything online related to this exact error message, there are some variants which lead to dead ends. does anyone know what is going on?
Whats weird is if i run my django app on my personal pc, then the error does not show when i inspect BUT the static images also do not load.
When i run the django app on the ec2 instance, then I get the error message with the static images still not loading. So i dont think the error is affecting the static images from loading, i.e they're 2 separate issues.
But last night all of this was working so i dunno whats happened.