fix last commit (i cant do this without coffee help me)

pull/31/head
Aevann1 2022-11-29 01:48:16 +02:00
parent b6c45c4208
commit c0d91c9e71
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ def subreddit(subreddit, v):
reddit = v.reddit if v else "old.reddit.com"
return redirect(f'https://{reddit}/r/{subreddit}')
@app.get("/archives/<subreddit>/comments/<path:path>")
@app.get("/reddit/<subreddit>/comments/<path:path>")
@auth_desired
def reddit_post(subreddit, v, path):
post_id = path.rsplit("/", 1)[0].replace('/', '')