@foo == /user/foo

This commit is contained in:
Flancian 2020-11-14 19:11:05 +01:00
parent fc75e469c0
commit c25e9b8615

View file

@ -54,6 +54,7 @@ def today():
@bp.route('/u/<user>') @bp.route('/u/<user>')
@bp.route('/user/<user>') @bp.route('/user/<user>')
@bp.route('/@<user>')
def user(user): def user(user):
return render_template('subnodes.html', nodes=db.subnodes_by_user(user)) return render_template('subnodes.html', nodes=db.subnodes_by_user(user))