Skip to content

Commit 1ea57af

Browse files
committed
refactor
1 parent 2357fce commit 1ea57af

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

device_lab/handlers/selenium_grid.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ class SeleniumGridListHandler(BaseHandler):
1010
def get(self):
1111
"""Get available capabilities endpoint
1212
---
13+
tags:
14+
- capability
1315
summary: Get available capabilities by conditions
1416
parameters:
1517
- in: query

device_lab/spec.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@ def get(self):
3131
def append_swagger_ui_endpoint(endpoints, base_url, path=r'(swagger-ui.*)'):
3232
# static url must include one and only one group to indicate file name
3333
url = urljoin(base_url, path)
34-
endpoints.append((url, tornado.web.StaticFileHandler, dict(path=STATIC_PATH)))
34+
endpoints.append((url, tornado.web.StaticFileHandler, dict(path=STATIC_PATH, default_filename="index.html")))

0 commit comments

Comments
 (0)