diff --git a/router_dyndns/ddns.py b/router_dyndns/ddns.py index 91a409f..de180c3 100644 --- a/router_dyndns/ddns.py +++ b/router_dyndns/ddns.py @@ -610,9 +610,9 @@ def _content_security_policy(path: str) -> str: return ( "default-src 'self'; " "script-src 'self' 'unsafe-inline' https://cdn.jsdelivr.net; " - "style-src 'self' 'unsafe-inline' https://cdn.jsdelivr.net; " + "style-src 'self' 'unsafe-inline' https://cdn.jsdelivr.net https://fonts.googleapis.com; " "img-src 'self' data: https://fastapi.tiangolo.com; " - "font-src 'self' https://cdn.jsdelivr.net; " + "font-src 'self' https://cdn.jsdelivr.net https://fonts.gstatic.com; " "connect-src 'self'; " "form-action 'self'; " "frame-ancestors 'none'" @@ -667,9 +667,9 @@ def _render_public_home(

Generate a random hostname, paste the update URL into your router, and keep the private status page. Your own DNS name can point to this hostname with a CNAME.

-