Skip to content

Commit 5beb89b

Browse files
authored
Merge pull request #14 from findologic/ACC-577_allow_path_for_landingpages
ACC-577_allow_path_for_landingpages
2 parents cc9a726 + 960dcb9 commit 5beb89b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

resources/schema.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -459,9 +459,9 @@
459459
"minLength": 1
460460
},
461461
"url": {
462-
"description": "URL of the Landingpage, which should be either redirected to, or offered to the user as a link.",
462+
"description": "URL or absolute path of the Landingpage, which should be either redirected to, or offered to the user as a link.",
463463
"type": "string",
464-
"pattern": "^https?://.*$"
464+
"pattern": "^(https?://|/).*$"
465465
}
466466
},
467467
"additionalProperties": false,
@@ -477,9 +477,9 @@
477477
"minLength": 1
478478
},
479479
"url": {
480-
"description": "URL of the page the promotion image should link to.",
480+
"description": "URL or absolute path of the page the promotion image should link to.",
481481
"type": "string",
482-
"pattern": "^https?://.*$"
482+
"pattern": "^(https?://|/).*$"
483483
},
484484
"imageUrl": {
485485
"description": "URL of the image to use for displaying the promotion.",

0 commit comments

Comments
 (0)