Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -9,7 +9,7 @@ app = Flask(__name__)
|
|
| 9 |
# api_key = request.headers.get("x-api-key")
|
| 10 |
# if api_key != API_KEY:
|
| 11 |
# abort(403) # Forbidden if API key is missing or incorrect
|
| 12 |
-
@app.route(
|
| 13 |
def thismain():
|
| 14 |
print('ayhaga')
|
| 15 |
return jsonify('done')
|
|
|
|
| 9 |
# api_key = request.headers.get("x-api-key")
|
| 10 |
# if api_key != API_KEY:
|
| 11 |
# abort(403) # Forbidden if API key is missing or incorrect
|
| 12 |
+
@app.route("/",methods=["GET", "POST"])
|
| 13 |
def thismain():
|
| 14 |
print('ayhaga')
|
| 15 |
return jsonify('done')
|