mirror of
https://github.com/Lissy93/dashy.git
synced 2025-07-23 13:45:33 +02:00
⚡ Improved regex for url validation
This commit is contained in:
parent
26f464f2b3
commit
2190b6eb84
@ -49,7 +49,7 @@
|
|||||||
"title": "App Logo",
|
"title": "App Logo",
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Path to an optional image asset, to be displayed in the header",
|
"description": "Path to an optional image asset, to be displayed in the header",
|
||||||
"pattern": "^(http|/)",
|
"pattern": "^(http|/)(.*?)",
|
||||||
"examples": [
|
"examples": [
|
||||||
"/web-icons/dashy-logo.png",
|
"/web-icons/dashy-logo.png",
|
||||||
"https://i.ibb.co/yhbt6CY/dashy.png"
|
"https://i.ibb.co/yhbt6CY/dashy.png"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user