Fix wrong regex

This commit is contained in:
Pascal Vizeli 2018-09-25 12:51:47 +02:00 committed by GitHub
parent c91bac2527
commit 2f4e114f25
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -42,7 +42,7 @@ ADDONS_ROLE_ACCESS = {
ROLE_DEFAULT: re.compile(
r"^(?:"
r"|/[^/]+/info"
r"|addons"
r"|/addons"
r")$"
),
ROLE_HOMEASSISTANT: re.compile(