Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
db0 committed Mar 16, 2024
1 parent a36db12 commit 1131b29
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions horde/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
def after_request(response):
response.headers["Access-Control-Allow-Origin"] = "*"
response.headers["Access-Control-Allow-Methods"] = "POST, GET, OPTIONS, PUT, DELETE, PATCH"
response.headers[
"Access-Control-Allow-Headers"
] = "Accept, Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, apikey, Client-Agent, X-Fields"
response.headers["Access-Control-Allow-Headers"] = (
"Accept, Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, apikey, Client-Agent, X-Fields"
)
response.headers["Horde-Node"] = f"{socket.gethostname()}:{args.port}:{HORDE_VERSION}"
return response

Expand Down

0 comments on commit 1131b29

Please sign in to comment.