Fixed f-string
This commit is contained in:
parent
b1303926db
commit
38f92c6261
1 changed files with 1 additions and 1 deletions
|
|
@ -20,7 +20,7 @@ def create_app(
|
|||
|
||||
# Handle CORS
|
||||
if handle_cors:
|
||||
cors_handler = CORS(app, resources=r"{prefix}/*")
|
||||
cors_handler = CORS(app, resources=f"{prefix}/*")
|
||||
|
||||
# Handle errors
|
||||
if handle_errors:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue