This commit is contained in:
Xevion
2019-07-06 04:57:26 -05:00
parent 3564ab0caa
commit 5022485ff6
8 changed files with 98 additions and 18 deletions

View File

@@ -15,7 +15,8 @@ import json
fake = faker.Faker()
def strgen(length): return ''.join(random.choices(list(string.ascii_letters), k=length))
def strgen(length):
return ''.join(random.choices(list(string.ascii_letters), k=length))
@app.errorhandler(401)
def unauthorized(e):
@@ -26,6 +27,10 @@ def unauthorized(e):
def profile():
return render_template('profile.html')
@app.route('/api/')
def api():
return 'fuckoff bots'
@app.route('/userinfo/')
def user_info():
prepare = {