@@ -338,6 +338,8 @@ ORDER BY outer_set, inner_sort
genjson("realtime.json")
+cmd="""curl -X POST "https://api.cloudflare.com/client/v4/zones/8cb58022ad5743cfd9f088d5e3a261eb/purge_cache" -H "X-Auth-Email: web.dept.hhh@gmail.com" -H "X-Auth-Key:63e51d9a1638d66afcbfc3320aabec52304de" -H "Content-Type: application/json" --data '{"files":["https://m.hhh.com.tw/hhh-home-mb/json/realtime.json"]}'"""
+os.system(cmd)
#""" if __name__ == "__main__":
# uvicorn.run(app, host="0.0.0.0", port=8000) """