修复关闭独立媒体域名时网站域名被误清空、生效地址回落到请求地址的问题
This commit is contained in:
1 parent
a2289a564f
commit
818c980dec
4 files changed
+3
-4
No files matched your search
@@ -231,10 +231,6 @@ export default defineEventHandler(async (event) => {
|
||||
}
|
||||
}
|
||||
|
||||
if (wantSeparation === false) {
|
||||
nextSite = ''
|
||||
}
|
||||
|
||||
if (body.domainSeparation !== undefined) {
|
||||
setSetting(SETTINGS_DOMAIN_SEPARATION, wantSeparation ? 'true' : 'false')
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user