修复关闭独立媒体域名时网站域名被误清空、生效地址回落到请求地址的问题

This commit is contained in:
tianmo committed 2026-10-17 16:41:10 +08:00
1 parent a2289a564f
commit 818c980dec
4 files changed
+3 -4

No files matched your search

-4
View File
@@ -231,10 +231,6 @@ export default defineEventHandler(async (event) => {
}
}
if (wantSeparation === false) {
nextSite = ''
}
if (body.domainSeparation !== undefined) {
setSetting(SETTINGS_DOMAIN_SEPARATION, wantSeparation ? 'true' : 'false')
}