mirror of https://github.com/Lissy93/dashy.git
⚡ 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…
Reference in New Issue