mirror of
https://github.com/Xevion/v1.xevion.dev.git
synced 2025-12-09 12:09:14 -06:00
route fix
This commit is contained in:
@@ -23,7 +23,7 @@ fake = faker.Faker()
|
|||||||
|
|
||||||
strgen = lambda length, charset=string.ascii_letters, weights=None : ''.join(random.choices(list(charset), k=length, weights=weights))
|
strgen = lambda length, charset=string.ascii_letters, weights=None : ''.join(random.choices(list(charset), k=length, weights=weights))
|
||||||
|
|
||||||
@app.route('/modpacks'):
|
@app.route('/modpacks')
|
||||||
def modpacks():
|
def modpacks():
|
||||||
return open(os.path.join(app.root_path, 'static', 'MODPACKS.MD'), 'r').read()
|
return open(os.path.join(app.root_path, 'static', 'MODPACKS.MD'), 'r').read()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user