• R/O
  • HTTP
  • SSH
  • HTTPS

提交

標籤
無標籤

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

修訂0615024f2db5be088d66f61e4ad96029ef760438 (tree)
時間2018-11-18 10:53:23
作者kazuhiro_kondow <simauma.circus@gmai...>
Commiterkazuhiro_kondow

Log Message

fix index.cgi

Change Summary

差異

--- a/appmain.py
+++ b/appmain.py
@@ -16,6 +16,10 @@ def do_dataentry(req: 'flask_request') -> str:
1616 return 'Failed'
1717
1818
19+@app.route('/')
20+def index():
21+ return "please entry node data!"
22+
1923 @app.route('/dataentry', methods=['POST'])
2024 def node_request() -> str:
2125 respons = do_dataentry(request)
--- a/index.cgi
+++ b/index.cgi
@@ -5,5 +5,5 @@ import cgitb
55 cgitb.enable()
66
77 from wsgiref.handlers import CGIHandler
8-from helloFlask import app
8+from appmain import app
99 CGIHandler().run(app)