Skip to content

Commit

Permalink
move to flask.py and apply to HORDE
Browse files Browse the repository at this point in the history
  • Loading branch information
Efreak committed Jun 8, 2024
1 parent c9dc1ee commit dce7553
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion horde/apis/apiv2.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,4 @@
ordered=True,
)

api.config.SWAGGER_UI_DOC_EXPANSION = 'list'
api.add_namespace(v2)
1 change: 1 addition & 0 deletions horde/flask.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

cache = None
HORDE = Flask(__name__)
HORDE.config.SWAGGER_UI_DOC_EXPANSION = 'list'
HORDE.wsgi_app = ProxyFix(HORDE.wsgi_app, x_for=1)

SQLITE_MODE = os.getenv("USE_SQLITE", "0") == "1"
Expand Down

0 comments on commit dce7553

Please sign in to comment.