mirror of
https://github.com/Radiquum/YAMPD.git
synced 2025-09-08 15:33:57 +05:00
format
This commit is contained in:
parent
3ef10c07cf
commit
c74170a14d
6 changed files with 20 additions and 8 deletions
|
@ -24,6 +24,7 @@ app = Flask(
|
|||
app.register_blueprint(api)
|
||||
if os.getenv("is_dev") == "True":
|
||||
from flask_cors import CORS
|
||||
|
||||
CORS(app, resources={r"/*": {"origins": "*"}})
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue