-
|
I previously posted about this under #2953. I have since identified what is causing it and wondered if someone could advise how to fix it please? If you go to https://harlowsteelband.org.uk/hsbgallery/public/gallery the images are good Why is the www making a difference? Is it something I can fix in Lychee settings? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
www is making a difference because those become two different domain names (even though technically they are currently pointing to the same server & loading) from the point of view of the web browser. You can see this in the CSP violation: There are multiple way to fix this. The cleanest one IMHO is put a redirection 301 on your |
Beta Was this translation helpful? Give feedback.

www is making a difference because those become two different domain names (even though technically they are currently pointing to the same server & loading) from the point of view of the web browser. You can see this in the CSP violation:
There are multiple way to fix this. The cleanest one IMHO is put a redirection 301 on your
wwwto the domain without thewww. Another way is to addSECURITY_HEADER_CSP_IMG_SRC=https://harlowsteelband.org.ukto your.envfile. So that the browser does not complain about it (that said, I do not have guaranties it is not going to break else where).