feat: when creating a postiz app, allow localhost
This commit is contained in:
parent
90b2581048
commit
cdcf63bf6b
2 changed files with 2 additions and 2 deletions
|
|
@ -17,6 +17,6 @@ export class CreateOAuthAppDto {
|
|||
|
||||
@IsString()
|
||||
@IsDefined()
|
||||
@IsUrl()
|
||||
@IsUrl({ require_tld: false })
|
||||
redirectUrl: string;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -17,6 +17,6 @@ export class UpdateOAuthAppDto {
|
|||
|
||||
@IsString()
|
||||
@IsOptional()
|
||||
@IsUrl()
|
||||
@IsUrl({ require_tld: false })
|
||||
redirectUrl?: string;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue