Skip to content

Commit 026c9f1

Browse files
committed
change price endpoint route from /price to /
1 parent fea75aa commit 026c9f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ def fetch_price():
104104

105105
threading.Thread(target=fetch_price, daemon=True).start()
106106

107-
@app.route("/price", methods=["GET"])
107+
@app.route("/", methods=["GET"])
108108
def get_price():
109109
return jsonify(token_price)
110110

0 commit comments

Comments
 (0)