Flynntes/Sleeky

...

Opened this issue · 4 comments

c1972 commented

...

Similar issue here with YOURLS deployed in K8s behind a tls enabled ingress.
Edge is not loading insecure resources and the page looks like this:
image

My issue was unrelated, after adjusting the helm chart and setting the helm value yourls.scheme=https the HTTPS warnings were gone.
I resolved the theme issue by changing the frontend/header.php file to remove the reference to the YOURLS_SITE variable in the stylesheet line so it looks like this <link rel="stylesheet" href="/frontend/dist/styles.css">.
The variable wasn't resolving there for some reason though it exists and is defined.

<br />
<b>Warning</b>:  Undefined variable $YOURLS_SITE in <b>/var/www/html/frontend/header.php</b> on line <b>15</b><br />
/frontend/dist/styles.css

This turns out to be a known issue: #108

All looks fine now.

Thank you mateuszdrab

that sounds like there is a solution to my problem.

Unfortunately I don't understand what I have to do. I am not a programmer and need some help please.

In which file do I have to change what?

Thanks for your help!

How/where are you running yourls?

Docker/Kubernetes or something else?

c1972 commented

just forget about it. I will delete yourls. it makes no sense.