From 8be977b32bf6eda45a5621b714fe51085cc2282c Mon Sep 17 00:00:00 2001 From: Korange Date: Fri, 19 Jan 2024 18:46:53 +0900 Subject: [PATCH] =?UTF-8?q?=E3=80=8C=E5=A4=96=E9=83=A8=E3=82=B5=E3=82=A4?= =?UTF-8?q?=E3=83=88=E3=81=8B=E3=82=89=E3=82=A4=E3=83=B3=E3=82=B9=E3=83=88?= =?UTF-8?q?=E3=83=BC=E3=83=AB=E3=80=8D=E3=81=AE=E3=83=91=E3=82=B9=E3=82=92?= =?UTF-8?q?=20/install-extensions=20=E3=81=AB=E5=A4=89=E6=9B=B4=20(#12991)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * /install-extensionsに変更 * CHANGELOG.mdに追記 * 旧パスも利用できるように --- CHANGELOG.md | 3 +++ packages/frontend/src/global/router/definition.ts | 7 ++++++- .../{install-extentions.vue => install-extensions.vue} | 0 3 files changed, 9 insertions(+), 1 deletion(-) rename packages/frontend/src/pages/{install-extentions.vue => install-extensions.vue} (100%) diff --git a/CHANGELOG.md b/CHANGELOG.md index 605b8af92..948ee2b51 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,9 @@ ## 202x.x.x (Unreleased) +### Note +- 外部サイトからプラグインをインストールする場合のパスが`/install-extentions`から`/install-extensions`に変わります。現時点では以前のパスも利用できますが、非推奨です。 + ### General - Feat: [mCaptcha](https://github.com/mCaptcha/mCaptcha)のサポートを追加 - Fix: リストライムラインの「リノートを表示」が正しく機能しない問題を修正 diff --git a/packages/frontend/src/global/router/definition.ts b/packages/frontend/src/global/router/definition.ts index c8448ce19..8e1c178ea 100644 --- a/packages/frontend/src/global/router/definition.ts +++ b/packages/frontend/src/global/router/definition.ts @@ -332,7 +332,12 @@ const routes = [{ component: page(() => import('@/pages/registry.vue')), }, { path: '/install-extentions', - component: page(() => import('@/pages/install-extentions.vue')), + // Note: This path is kept for compatibility. It may be deleted. + component: page(() => import('@/pages/install-extensions.vue')), + loginRequired: true, +}, { + path: '/install-extensions', + component: page(() => import('@/pages/install-extensions.vue')), loginRequired: true, }, { path: '/admin/user/:userId', diff --git a/packages/frontend/src/pages/install-extentions.vue b/packages/frontend/src/pages/install-extensions.vue similarity index 100% rename from packages/frontend/src/pages/install-extentions.vue rename to packages/frontend/src/pages/install-extensions.vue