imperialwool commited on
Commit
8f6657f
1 Parent(s): dbec2e2

fix 500 error

Browse files
routes/config.json CHANGED
@@ -5,5 +5,5 @@
5
  "static-path": "/app/static",
6
  "previews-path": "/app/static/previews",
7
  "signatures-db": "/app/signatures.db",
8
- "buildVersion": "1.0 build53"
9
  }
 
5
  "static-path": "/app/static",
6
  "previews-path": "/app/static/previews",
7
  "signatures-db": "/app/signatures.db",
8
+ "buildVersion": "1.0 build54"
9
  }
routes/siteRoutes/sigGen.py CHANGED
@@ -11,7 +11,7 @@ def signatureGen(request):
11
 
12
  userKey = hashlib.md5(uK.encode()).hexdigest()
13
  text = f"--START SIGNATURE-- {userKey}{endtime} --END SIGNATURE--"
14
- salt = hashlib.md5("funapi-salt".encode()).hexdigest()
15
 
16
  creatorKey = hashlib.md5(f"USERKEY={userKey};DATE={time.strftime('%Y-%m-%d')}".encode()).hexdigest()
17
 
 
11
 
12
  userKey = hashlib.md5(uK.encode()).hexdigest()
13
  text = f"--START SIGNATURE-- {userKey}{endtime} --END SIGNATURE--"
14
+ salt = hashlib.md5("funapi-salt".encode()).hexdigest()[0:16]
15
 
16
  creatorKey = hashlib.md5(f"USERKEY={userKey};DATE={time.strftime('%Y-%m-%d')}".encode()).hexdigest()
17
 
templates/intervalservererror.html ADDED
@@ -0,0 +1 @@
 
 
1
+ <html><head><title>500 Internal Server Error</title></head><body><center><h1>500 Internal Server Error</h1></center><hr><center>mangoo</center></body></html>