From 2fe2f4f31eb2ca70128e4739bb849847c1bebea4 Mon Sep 17 00:00:00 2001 From: Callum Brown Date: Sat, 6 Mar 2021 13:30:31 +0000 Subject: [PATCH] AURA: Ensure CORS allowed origins are strings --- beetsplug/aura.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beetsplug/aura.py b/beetsplug/aura.py index 8980885fd..201e099e3 100644 --- a/beetsplug/aura.py +++ b/beetsplug/aura.py @@ -909,7 +909,7 @@ def create_app(): app.config["lib"] = _open_library(config) # Enable CORS if required - cors = config["aura"]["cors"].get(list) + cors = config["aura"]["cors"].as_str_seq(list) if cors: from flask_cors import CORS