Skip to content

Commit

Permalink
feat: try to rewrite link rel=me
Browse files Browse the repository at this point in the history
  • Loading branch information
akurilov committed Jul 28, 2024
1 parent 361fd9e commit 10e9772
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion helm/webapp/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
5 changes: 4 additions & 1 deletion web/sub-details.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,13 @@
<script src="attrs.js"></script>
<script src="api/subscriptions.js?v=2f2b4c8"></script>

<link rel="me" href="https://activitypub.awakari.com@"/>
<link rel="me" href="https://activitypub.awakari.com/@me"/>

</head>
<body class="bg-white dark:bg-gray-900 text-slate-700 dark:text-gray-300">
<div class="hidden">
<a rel="me" href="https://activitypub.awakari.com/@me">Me</a>
</div>

<nav class="text-xl flex p-1 sm:p-4 text-slate-700 dark:text-slate-200">
<button onclick="window.location.assign('sub.html')" class="mr-1">
Expand Down

0 comments on commit 10e9772

Please sign in to comment.