this is totally unnecessary, let's remove it
This commit is contained in:
parent
0b30345271
commit
4df8e7a695
2 changed files with 1 additions and 2 deletions
2
app.py
2
app.py
|
@ -56,7 +56,7 @@ def index():
|
|||
uploadIndex=""
|
||||
for upload in uploads:
|
||||
upload_time = datetime.fromtimestamp(upload[1])
|
||||
uploadIndex+="ID: <a href='http://{}/view_report?id={}' target='_blank'>{}</a> -- Uploaded at {}!<br>".format(config["domain"], upload[0], upload[0], upload_time)
|
||||
uploadIndex+="ID: <a href='/view_report?id={}' target='_blank'>{}</a> -- Uploaded at {}!<br>".format(upload[0], upload[0], upload_time)
|
||||
|
||||
return render_template("index.html", uploadIndex=uploadIndex, report_count=report_count[0][0]), 200
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
{
|
||||
"ip": "0.0.0.0",
|
||||
"domain": "syscheck.crafterpika.cc",
|
||||
"port": "6969",
|
||||
"upload_passwords": [
|
||||
"d2wRuTEObSAN",
|
||||
|
|
Loading…
Add table
Reference in a new issue