escaping character

This commit is contained in:
Miodec 2023-07-01 00:25:32 +02:00
parent 555318d0bc
commit da289b96b1

View file

@ -82,7 +82,7 @@ const CONFIG_SCHEMA = joi.object({
fontFamily: joi
.string()
.max(50)
.regex(/^[a-zA-Z0-9_-+.]+$/),
.regex(/^[a-zA-Z0-9_\-+.]+$/),
smoothLineScroll: joi.boolean(),
alwaysShowDecimalPlaces: joi.boolean(),
alwaysShowWordsHistory: joi.boolean(),