@@ -0,0 +1,17 @@
from fastapi import FastAPI
import json
import random
quotes = json.load(open("quotes.json"))
app = FastAPI()
@app.get("/")
async def quote():
return {"message": random.choice(quotes)}
@app.get("/dump")
async def dump():
return quotes
The note is not visible to the blocked user.