mirror of
https://github.com/timmypidashev/web.git
synced 2026-04-14 11:03:50 +00:00
upload config
This commit is contained in:
@@ -8,8 +8,3 @@ app = Flask(__name__)
|
||||
def home():
|
||||
return "Home Page Route"
|
||||
|
||||
@app.route("/api")
|
||||
def api():
|
||||
with open("data.json", mode="r") as my_file:
|
||||
text = my_file.read()
|
||||
return text
|
||||
|
||||
Reference in New Issue
Block a user