Update main.py
Browse files
main.py
CHANGED
|
@@ -67,7 +67,7 @@ def index():
|
|
| 67 |
@app.post('/ip')
|
| 68 |
def query():
|
| 69 |
ip = query_ip()
|
| 70 |
-
return
|
| 71 |
|
| 72 |
# @app.get('/dockers')
|
| 73 |
# def dockers():
|
|
|
|
| 67 |
@app.post('/ip')
|
| 68 |
def query():
|
| 69 |
ip = query_ip()
|
| 70 |
+
return Response(content=ip,status_code=200, media_type='application/text; charset=utf-8')
|
| 71 |
|
| 72 |
# @app.get('/dockers')
|
| 73 |
# def dockers():
|