Merge branch 'sermon_endpoint' of gitea.nicecrew.digital:tyler/kjv_api into sermon_endpoint

This commit is contained in:
2024-11-12 17:34:32 -08:00
3 changed files with 1260 additions and 0 deletions
+4
View File
@@ -35,6 +35,7 @@ logging.basicConfig(
)
logging.info(f"Started: {timestamp_runtime}")
logging.info(f"Using Sermon Database: {SERMON_DB}")
try:
sanity_check.check_sanity()
@@ -687,6 +688,9 @@ def idx(shortcode=""):
logging.info(f"/{shortcode}")
return send_file("html/index.html")
@app.get("/fe")
def frontend():
return send_file('kjv_fe.html')
@app.get("/salvation") # a web page about going to heaven
def salvation():