diff --git a/helm/webapp/templates/ingress.yaml b/helm/webapp/templates/ingress.yaml
index 2204c6b..d6a6597 100644
--- a/helm/webapp/templates/ingress.yaml
+++ b/helm/webapp/templates/ingress.yaml
@@ -24,7 +24,10 @@ metadata:
nginx.ingress.kubernetes.io/ssl-redirect: "true"
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
nginx.ingress.kubernetes.io/configuration-snippet: |
- more_set_headers "etag: 9ffa673";
+ more_set_headers "etag: 2f2b4c8";
+ sub_filter_once off;
+ sub_filter_types *;
+ sub_filter 'https://activitypub.awakari.com@' '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/status.js b/web/status.js
index 12a5aaf..2a21b3f 100644
--- a/web/status.js
+++ b/web/status.js
@@ -12,7 +12,7 @@ const templateSrcPopular = (share, url) => `
const templateIntPopular = (id, data) => `
-
${data.hasOwnProperty("followers") ? data.followers : '?'}
+
${data.hasOwnProperty("followers") ? data.followers : '0'}
${data.description}
`
@@ -178,6 +178,7 @@ async function loadStatus() {
let count = 0;
Object
.entries(data.interestsMostFollowed)
+ .filter(e => e[1].hasOwnProperty("followers"))
.sort((a, b) => b[1].followers - a[1].followers)
.slice(0, 5)
.forEach(e => {
diff --git a/web/sub-details.html b/web/sub-details.html
index bdf0d87..cf76d95 100644
--- a/web/sub-details.html
+++ b/web/sub-details.html
@@ -18,11 +18,12 @@
-
+
+
+
- Me