feat: when creating a postiz app, allow localhost

This commit is contained in:
Nevo David 2026-04-27 13:17:12 +07:00
parent 90b2581048
commit cdcf63bf6b
2 changed files with 2 additions and 2 deletions

View file

@ -17,6 +17,6 @@ export class CreateOAuthAppDto {
@IsString()
@IsDefined()
@IsUrl()
@IsUrl({ require_tld: false })
redirectUrl: string;
}

View file

@ -17,6 +17,6 @@ export class UpdateOAuthAppDto {
@IsString()
@IsOptional()
@IsUrl()
@IsUrl({ require_tld: false })
redirectUrl?: string;
}