This repository was archived by the owner on Dec 29, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -51,8 +51,8 @@ def clickhouse():
5151 query = request .args .get ('query' , default = "" , type = str )
5252 format = request .args .get ('default_format' , default = "TSV" , type = str )
5353 if not query :
54- return "Ok" ,200
55- # return app.send_static_file('play.html')
54+ return "Ok" , 200
55+ # return app.send_static_file('play.html')
5656
5757 result , errmsg = chdb_query_with_errmsg (query , format )
5858 if len (errmsg ) == 0 :
@@ -66,8 +66,8 @@ def play():
6666 query = request .data or None
6767 format = request .args .get ('default_format' , default = "TSV" , type = str )
6868 if not query :
69- return "Ok" ,200
70- # return app.send_static_file('play.html')
69+ return "Ok" , 200
70+ # return app.send_static_file('play.html')
7171
7272 result , errmsg = chdb_query_with_errmsg (query , format )
7373 if len (errmsg ) == 0 :
@@ -85,8 +85,7 @@ def handle_ping():
8585
8686@app .errorhandler (404 )
8787def handle_404 (e ):
88- return "Not Found" , 404
89- # return app.send_static_file('play.html')
88+ return app .send_static_file ('play.html' )
9089
9190
9291host = os .getenv ('HOST' , '0.0.0.0' )
You can’t perform that action at this time.
0 commit comments