From b2b07e5f21f10faa59ce60bec788306438415b65 Mon Sep 17 00:00:00 2001
From: syuilo <4439005+syuilo@users.noreply.github.com>
Date: Fri, 1 Aug 2025 12:36:25 +0900
Subject: enhance(backend):
 連合関係のサーバー設定のデフォルト値をウィザード側に移動
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

- サーバー初期設定ウィザードでデフォルト値を設定できるため、データベース上のデフォルト値でオンにしておく必要がない
- 連合は初期設定が終わるまで閉じられている方が安全
---
 packages/frontend/src/components/MkServerSetupWizard.vue | 12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)

(limited to 'packages/frontend/src/components/MkServerSetupWizard.vue')

diff --git a/packages/frontend/src/components/MkServerSetupWizard.vue b/packages/frontend/src/components/MkServerSetupWizard.vue
index 23e0e85bc9..d2f56b55c4 100644
--- a/packages/frontend/src/components/MkServerSetupWizard.vue
+++ b/packages/frontend/src/components/MkServerSetupWizard.vue
@@ -207,15 +207,13 @@ const props = withDefaults(defineProps<{
 }>(), {
 });
 
-const currentMeta = await misskeyApi('admin/meta');
-
-const q_name = ref(currentMeta.name ?? '');
+const q_name = ref('');
 const q_use = ref('single');
 const q_scale = ref('small');
-const q_federation = ref(currentMeta.federation === 'none' ? 'no' : 'yes');
-const q_remoteContentsCleaning = ref(currentMeta.enableRemoteNotesCleaning);
-const q_adminName = ref(currentMeta.maintainerName ?? '');
-const q_adminEmail = ref(currentMeta.maintainerEmail ?? '');
+const q_federation = ref('yes');
+const q_remoteContentsCleaning = ref(true);
+const q_adminName = ref('');
+const q_adminEmail = ref('');
 
 const serverSettings = computed<Misskey.entities.AdminUpdateMetaRequest>(() => {
 	let enableReactionsBuffering;
-- 
cgit v1.2.3-freya

