Compare commits
1 Commits
3dc1737ef3
...
cbf8496687
Author | SHA1 | Date |
---|---|---|
Simon Bruder | cbf8496687 |
|
@ -48,7 +48,7 @@ def help():
|
|||
|
||||
@app.route("/<string:uuid>/<string:password>/")
|
||||
def index(uuid, password):
|
||||
res = r'<!DOCTYPE html><html><head><title>Index of /{uuid}</title><meta charset="utf-8"></head><body><h1>Index of /{uuid}</h1><pre>'
|
||||
res = f'<!DOCTYPE html><html><head><title>Index of /{uuid}</title><meta charset="utf-8"></head><body><h1>Index of /{uuid}</h1><pre>'
|
||||
for name, url in get_files(uuid, password).items():
|
||||
res += f'<a href="{name}">{name}</a>\n'
|
||||
res += "</pre></body></html>"
|
||||
|
|
Loading…
Reference in New Issue