forked from MarseyWorld/MarseyWorld
gfd
parent
231a55ea49
commit
49c1db511d
|
@ -10,6 +10,12 @@ import matplotlib.pyplot as plt
|
||||||
from files.classes.mod_logs import ACTIONTYPES, ACTIONTYPES2
|
from files.classes.mod_logs import ACTIONTYPES, ACTIONTYPES2
|
||||||
from files.classes.badges import BadgeDef
|
from files.classes.badges import BadgeDef
|
||||||
|
|
||||||
|
@app.get("/r/drama/comments/<id>/<title>")
|
||||||
|
@app.get("/r/Drama/comments/<id>/<title>")
|
||||||
|
def rdrama(id, title):
|
||||||
|
id = ''.join(f'{x}/' for x in id)
|
||||||
|
return redirect(f'/archives/drama/comments/{id}{title}.html')
|
||||||
|
|
||||||
@app.get("/privacy")
|
@app.get("/privacy")
|
||||||
@auth_required
|
@auth_required
|
||||||
def privacy(v):
|
def privacy(v):
|
||||||
|
|
Loading…
Reference in New Issue