リビジョン | c6b34a5c0a11fcf931ffcae2c2b85d215833e836 (tree) |
---|---|
日時 | 2019-03-15 00:17:38 |
作者 | kazuhiro_kondow <simauma.circus@gmai...> |
コミッター | kazuhiro_kondow |
return root index fix
@@ -55,9 +55,9 @@ def do_selectdata() -> dict: | ||
55 | 55 | return 'Failed' |
56 | 56 | |
57 | 57 | @app.route('/') |
58 | -def index(): | |
58 | +def index() -> str: | |
59 | 59 | """誤ったHTTPaccessに対する案内""" |
60 | - return "please entry node data!" | |
60 | + return '<!DOCTYPE html><html><head><title>please entry node data!</title></head><body><p><font size="6">please entry node data!</font></p></body></html>' | |
61 | 61 | |
62 | 62 | @app.route('/dataentry', methods=['POST']) |
63 | 63 | def node_request() -> str: |