mirror of
https://github.com/beetbox/beets.git
synced 2025-12-06 08:39:17 +01:00
AURA: Ensure CORS allowed origins are strings
This commit is contained in:
parent
fbc76887ad
commit
2fe2f4f31e
1 changed files with 1 additions and 1 deletions
|
|
@ -909,7 +909,7 @@ def create_app():
|
||||||
app.config["lib"] = _open_library(config)
|
app.config["lib"] = _open_library(config)
|
||||||
|
|
||||||
# Enable CORS if required
|
# Enable CORS if required
|
||||||
cors = config["aura"]["cors"].get(list)
|
cors = config["aura"]["cors"].as_str_seq(list)
|
||||||
if cors:
|
if cors:
|
||||||
from flask_cors import CORS
|
from flask_cors import CORS
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue