mirror of
https://github.com/Xevion/v1.xevion.dev.git
synced 2025-12-10 06:09:04 -06:00
keybase addition
This commit is contained in:
@@ -25,6 +25,10 @@ markdown = mistune.Markdown()
|
||||
|
||||
strgen = lambda length, charset=string.ascii_letters, weights=None : ''.join(random.choices(list(charset), k=length, weights=weights))
|
||||
|
||||
@app.route('/keybase.txt')
|
||||
def keybase():
|
||||
return app.send_static_file('keybase.txt')
|
||||
|
||||
@app.route('/modpacks')
|
||||
def modpacks():
|
||||
return markdown(open(os.path.join(app.root_path, 'static', 'MODPACKS.MD'), 'r').read())
|
||||
|
||||
Reference in New Issue
Block a user