bunch of bugfix
This commit is contained in:
parent
02116cd36f
commit
877dbf1c3c
6
app.py
6
app.py
@ -121,11 +121,11 @@ def redirect_vanity(vanity):
|
||||
'url': url_for('download_file', vanity=vanity)
|
||||
}
|
||||
@app.route('/<vanity>/raw', methods=['GET'])
|
||||
def rawvanity:
|
||||
def rawvanity(vanity):
|
||||
target = data_store.get(vanity)
|
||||
if target:
|
||||
if target['type'] == 'pastebin':
|
||||
return render_template(f'{vanity}raw.html')
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
app.run(debug=True)
|
||||
app.run(debug=True,port=7123)
|
Loading…
Reference in New Issue
Block a user