mirror of
https://github.com/Xevion/v1.xevion.dev.git
synced 2025-12-06 17:16:55 -06:00
api
This commit is contained in:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user