High performance self-hosted photo and video management solution.
TypeScript backup-toolfluttergoogle-photosgoogle-photos-alternativejavascriptmobile-appnestjsnodejsphoto-galleryphotosphotos-managementself-hostedsveltesveltekittypescriptvideos
fix(server): external domain url validation (#11493)
martyfuhry2c05ceaf5049
diff --git a/server/src/dtos/system-config.dto.ts b/server/src/dtos/system-config.dto.tsindex 98acb495ce..e2255223d0 100644--- a/server/src/dtos/system-config.dto.ts+++ b/server/src/dtos/system-config.dto.ts@@ -376,7 +376,8 @@ class SystemConfigReverseGeocodingDto {}class SystemConfigServerDto {- @IsString()+ @ValidateIf((_, value: string) => value !== '')+ @IsUrl({ require_tld: false, require_protocol: true, protocols: ['http', 'https'] })externalDomain!: string;@IsString()