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

Allow adding custom html code to head #4817

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Commits on Jun 3, 2024

  1. Add custom html code to head

    With this PR a new text field will be added that allows setting custom
    html code to the `<head>` of a status page.
    The implementation will be similar to
    https://github.com/louislam/uptime-kuma/pull/2567/files, but with a
    multi-line text field and without escaping any special chars.
    
    For security reasons the env var `UPTIME_KUMA_ALLOW_CUSTOM_HTML` must be set to `1` to enable this feature.
    
    This will allow tracking with most analytic platforms and has been
    requested several times.
    
    Closes #2818
    mueller-ma authored and CommanderStorm committed Jun 3, 2024
    Configuration menu
    Copy the full SHA
    7f0d3a3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2a556e7 View commit details
    Browse the repository at this point in the history
  3. fixed linting issues

    CommanderStorm committed Jun 3, 2024
    Configuration menu
    Copy the full SHA
    4b0e7de View commit details
    Browse the repository at this point in the history