mirror of https://github.com/ghostfolio/ghostfolio
3 changed files with 12 additions and 2 deletions
@ -0,0 +1,9 @@ |
|||
import { IsUrl } from 'class-validator'; |
|||
|
|||
export class GetLogoDto { |
|||
@IsUrl({ |
|||
protocols: ['http', 'https'], |
|||
require_protocol: true |
|||
}) |
|||
url: string; |
|||
} |
|||
Loading…
Reference in new issue