this is totally unnecessary, let's remove it

This commit is contained in:
CrafterPika 2024-10-26 14:20:57 +02:00
parent 0b30345271
commit 4df8e7a695
Signed by: crafterpika
GPG key ID: B4E0BA4B52B201DC
2 changed files with 1 additions and 2 deletions

2
app.py
View file

@ -56,7 +56,7 @@ def index():
uploadIndex="" uploadIndex=""
for upload in uploads: for upload in uploads:
upload_time = datetime.fromtimestamp(upload[1]) 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 return render_template("index.html", uploadIndex=uploadIndex, report_count=report_count[0][0]), 200

View file

@ -1,6 +1,5 @@
{ {
"ip": "0.0.0.0", "ip": "0.0.0.0",
"domain": "syscheck.crafterpika.cc",
"port": "6969", "port": "6969",
"upload_passwords": [ "upload_passwords": [
"d2wRuTEObSAN", "d2wRuTEObSAN",