Merge branch 'sermon_endpoint' of gitea.nicecrew.digital:tyler/kjv_api into sermon_endpoint
This commit is contained in:
@@ -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():
|
||||
|
||||
Reference in New Issue
Block a user