From 7577477ae815df0cb928d739481db32c495ead26 Mon Sep 17 00:00:00 2001 From: d3vyce Date: Sat, 10 Sep 2022 21:35:22 +0200 Subject: [PATCH] Add rel="noopener noreferrer" to html link --- src/components/PublicGroupList.vue | 1 + src/pages/Details.vue | 2 +- src/pages/StatusPage.vue | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/PublicGroupList.vue b/src/components/PublicGroupList.vue index e8ed57d80..1eb433eed 100644 --- a/src/components/PublicGroupList.vue +++ b/src/components/PublicGroupList.vue @@ -44,6 +44,7 @@ :href="monitor.element.url" class="item-name" target="_blank" + rel="noopener noreferrer" > {{ monitor.element.name }} diff --git a/src/pages/Details.vue b/src/pages/Details.vue index 0ff0fe779..7cf258927 100644 --- a/src/pages/Details.vue +++ b/src/pages/Details.vue @@ -6,7 +6,7 @@

- {{ monitor.url }} + {{ monitor.url }} TCP Ping {{ monitor.hostname }}:{{ monitor.port }} Ping: {{ monitor.hostname }} diff --git a/src/pages/StatusPage.vue b/src/pages/StatusPage.vue index 485b0942f..45d5e0c24 100644 --- a/src/pages/StatusPage.vue +++ b/src/pages/StatusPage.vue @@ -265,7 +265,7 @@

- {{ $t("Powered by") }} {{ $t("Uptime Kuma" ) }} + {{ $t("Powered by") }} {{ $t("Uptime Kuma" ) }}