DmitrMakeev commited on
Commit
89cecb3
1 Parent(s): 5e8ef40

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -28,10 +28,10 @@ def index():
28
 
29
  @app.route('/zapro', methods=['GET'])
30
  def zapro():
31
- #globs.initialize()
32
 
33
- return flask.render_template('zapro.html', ph_values=globs.ph_value, ec_values=globs.ec_value)
34
-
35
 
36
 
37
 
 
28
 
29
  @app.route('/zapro', methods=['GET'])
30
  def zapro():
31
+ # globs.initialize()
32
 
33
+ # return flask.render_template('zapro.html', ph_values=globs.ph_value, ec_values=globs.ec_value)
34
+ return jsonify(ph_value=globs.ph_value, ec_value=globs.ec_value)
35
 
36
 
37