diff --git a/src/views/settings/components/Endpoint.vue b/src/views/settings/components/Endpoint.vue
index d07f2515..a08e0847 100644
--- a/src/views/settings/components/Endpoint.vue
+++ b/src/views/settings/components/Endpoint.vue
@@ -4,8 +4,12 @@
-
+
+
+
+
+
Submit
@@ -47,6 +51,12 @@ export default {
},
loading() {
return this.settings.loading
+ },
+ remoteIp() {
+ return this.settings.description.find(setting => setting.key === 'Pleroma.Plugs.RemoteIp')
+ },
+ remoteIpData() {
+ return this.settings.settings.pleroma['Pleroma.Plugs.RemoteIp']
}
},
methods: {
diff --git a/src/views/settings/components/Http.vue b/src/views/settings/components/Http.vue
index ec33f695..9c67ffd3 100644
--- a/src/views/settings/components/Http.vue
+++ b/src/views/settings/components/Http.vue
@@ -14,6 +14,10 @@
+
+
+
+
Submit
@@ -65,6 +69,12 @@ export default {
},
loading() {
return this.settings.loading
+ },
+ webCacheTtl() {
+ return this.settings.description.find(setting => setting.key === ':web_cache_ttl')
+ },
+ webCacheTtlData() {
+ return this.settings.settings.pleroma[':web_cache_ttl']
}
},
methods: {