From 10e977201bf3d941f3426c2d766af8afbde9b6ec Mon Sep 17 00:00:00 2001 From: Andrei Kurilov <18027129+akurilov@users.noreply.github.com> Date: Sun, 28 Jul 2024 08:48:13 +0300 Subject: [PATCH] feat: try to rewrite link rel=me --- helm/webapp/templates/ingress.yaml | 2 +- web/sub-details.html | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/helm/webapp/templates/ingress.yaml b/helm/webapp/templates/ingress.yaml index d6a6597..5ab8810 100644 --- a/helm/webapp/templates/ingress.yaml +++ b/helm/webapp/templates/ingress.yaml @@ -27,7 +27,7 @@ metadata: more_set_headers "etag: 2f2b4c8"; sub_filter_once off; sub_filter_types *; - sub_filter 'https://activitypub.awakari.com@' 'https://activitypub.awakari.com@$arg_id'; + sub_filter 'https://activitypub.awakari.com/@me' 'https://activitypub.awakari.com/@$arg_id'; spec: {{- if and .Values.ingress.className (semverCompare ">=1.18-0" .Capabilities.KubeVersion.GitVersion) }} ingressClassName: {{ .Values.ingress.className }} diff --git a/web/sub-details.html b/web/sub-details.html index cf76d95..79f68b1 100644 --- a/web/sub-details.html +++ b/web/sub-details.html @@ -20,10 +20,13 @@ - +
+