@ -48,9 +48,10 @@ export class UpdateAssetProfileDto {
[dataProvider: string]: string;
};
@IsOptional()
@IsUrl({
protocols: ['http', 'https']
protocols: ['https'],
require_protocol: true
})
url?: string;
}
@ -331,7 +331,7 @@
</div>
<div>
<mat-form-field appearance="outline" class="w-100 without-hint">
<mat-label i18n>URL</mat-label>
<mat-label i18n>Url</mat-label>
<input formControlName="url" matInput type="text" />
</mat-form-field>