DmitrMakeev commited on
Commit
391804f
·
verified ·
1 Parent(s): 96b55f5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -99,7 +99,6 @@ def se_mes_im():
99
 
100
 
101
 
102
-
103
 
104
 
105
  @app.route('/upload', methods=['POST'])
@@ -119,7 +118,10 @@ def get_image():
119
 
120
 
121
 
122
-
 
 
 
123
 
124
  @app.route('/se_mes_im2', methods=['GET'])
125
  def se_mes_im2():
 
99
 
100
 
101
 
 
102
 
103
 
104
  @app.route('/upload', methods=['POST'])
 
118
 
119
 
120
 
121
+ @app.route('/own_url', methods=['GET'])
122
+ def get_own_url():
123
+ own_url = os.getenv('OWN_URL') # URL сервера
124
+ return own_url, 200
125
 
126
  @app.route('/se_mes_im2', methods=['GET'])
127
  def se_mes_im2():