Skip to content

armgit / dashy

Public Imported from GitHub
0

πŸš€ A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!

:zap: Improved regex for url validation

Alicia Sykes2190b6eb8497
diff --git a/src/utils/ConfigSchema.json b/src/utils/ConfigSchema.json
index 49715b40..bea58ddf 100644
--- a/src/utils/ConfigSchema.json
+++ b/src/utils/ConfigSchema.json
@@ -49,7 +49,7 @@
"title": "App Logo",
"type": "string",
"description": "Path to an optional image asset, to be displayed in the header",
- "pattern": "^(http|/)",
+ "pattern": "^(http|/)(.*?)",
"examples": [
"/web-icons/dashy-logo.png",
"https://i.ibb.co/yhbt6CY/dashy.png"