From 2190b6eb84975263640ac441f4a6b2008260ad9f Mon Sep 17 00:00:00 2001 From: Alicia Sykes Date: Tue, 26 Oct 2021 22:47:25 +0100 Subject: [PATCH] :zap: Improved regex for url validation --- src/utils/ConfigSchema.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"