Added support to enable/disable validating the URL while it is created

This commit is contained in:
Alejandro Celaya
2020-12-06 13:07:44 +01:00
parent 0ed88079ad
commit 8f7e356e54
4 changed files with 28 additions and 12 deletions

View File

@@ -11,6 +11,7 @@ export interface ShortUrlData {
validUntil?: m.Moment | string;
maxVisits?: number;
findIfExists?: boolean;
validateUrl?: boolean;
}
export interface ShortUrl {