Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

... #117

Open
c1972 opened this issue Sep 6, 2022 · 4 comments
Open

... #117

c1972 opened this issue Sep 6, 2022 · 4 comments

Comments

@c1972
Copy link

c1972 commented Sep 6, 2022

...

@mateuszdrab
Copy link

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

@mateuszdrab
Copy link

mateuszdrab commented Sep 12, 2022

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.

@mateuszdrab
Copy link

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 c1972 changed the title How to get rid of mixed content warning in Firefox because wrong called logo ... Sep 13, 2022
@c1972
Copy link
Author

c1972 commented Sep 13, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants