mirror of
https://github.com/Dasemu/Transcriptarr.git
synced 2026-11-27 23:46:08 +00:00
Update subgen.py
This commit is contained in:
1 parent
81ac38ec4e
commit
8a31a12c3c
1 file changed
+4
@@ -100,6 +100,10 @@ def appendLine(result):
|
||||
def handle_get_request(request: Request):
|
||||
return "You accessed this request incorrectly via a GET request. See https://github.com/McCloudS/subgen for proper configuration"
|
||||
|
||||
@app.get("/status")
|
||||
def status():
|
||||
return {"version" : "Subgen commit: COMMIT_VERSION on: $COMMIT_DATE"}
|
||||
|
||||
@app.post("/webhook")
|
||||
async def print_warning():
|
||||
print("*** This is the legacy webhook. You need to update to webhook urls to end in plex, tautulli, emby, or jellyfin instead of webhook. ***")
|
||||
|
||||
Reference in new issue
Block a user