From c102955cd5afc2efe4de4c4c1a57338b73ea04fd Mon Sep 17 00:00:00 2001 From: oiov Date: Sun, 29 Jun 2025 16:44:18 +0800 Subject: [PATCH] feats(configs): add email push config for subdomain apply --- app/(protected)/admin/system/app-configs.tsx | 57 +++++++++---------- app/api/admin/configs/route.ts | 1 + app/api/record/add/route.ts | 11 ++-- app/api/record/admin/apply/route.ts | 6 +- components/forms/record-form.tsx | 2 +- locales/en.json | 6 +- locales/zh.json | 8 ++- .../migrations/20250629162502/migration.sql | 32 +++++++++++ public/sw.js.map | 2 +- 9 files changed, 81 insertions(+), 44 deletions(-) create mode 100644 prisma/migrations/20250629162502/migration.sql diff --git a/app/(protected)/admin/system/app-configs.tsx b/app/(protected)/admin/system/app-configs.tsx index f904407..c208b46 100644 --- a/app/(protected)/admin/system/app-configs.tsx +++ b/app/(protected)/admin/system/app-configs.tsx @@ -88,7 +88,7 @@ export default function AppConfigs({}: {}) { return ( - +
{t("App Configs")}
@@ -637,36 +637,6 @@ export default function AppConfigs({}: {}) {
- - {/* Webhook */} - {/*
-
-

Webhook

-

-
- {configs && ( -
-