feat(web,server): external domain setting (#6146)

* feat: external domain setting

* chore: open api

* mobile: handle serverconfig-externalDomain

---------

Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
This commit is contained in:
Jason Rasmussen
2024-01-03 21:54:48 -05:00
committed by GitHub
parent 1e503c3212
commit 317adc5c28
35 changed files with 433 additions and 23 deletions
+21 -2
View File
@@ -8593,6 +8593,9 @@
},
"ServerConfigDto": {
"properties": {
"externalDomain": {
"type": "string"
},
"isInitialized": {
"type": "boolean"
},
@@ -8610,7 +8613,8 @@
"trashDays",
"oauthButtonText",
"loginPageMessage",
"isInitialized"
"isInitialized",
"externalDomain"
],
"type": "object"
},
@@ -9039,6 +9043,9 @@
"reverseGeocoding": {
"$ref": "#/components/schemas/SystemConfigReverseGeocodingDto"
},
"server": {
"$ref": "#/components/schemas/SystemConfigServerDto"
},
"storageTemplate": {
"$ref": "#/components/schemas/SystemConfigStorageTemplateDto"
},
@@ -9066,7 +9073,8 @@
"thumbnail",
"trash",
"theme",
"library"
"library",
"server"
],
"type": "object"
},
@@ -9359,6 +9367,17 @@
],
"type": "object"
},
"SystemConfigServerDto": {
"properties": {
"externalDomain": {
"type": "string"
}
},
"required": [
"externalDomain"
],
"type": "object"
},
"SystemConfigStorageTemplateDto": {
"properties": {
"enabled": {