updates color generation, tries fixing credentials bug

- credentials still lost the refresh token after a certain event
  - this was now fixed by completely removing any saves past the first one
  - https://trello.com/c/iORYLYHl/44-1-check-on-credentials

- Color Coding is now updated
  - fixed an incorrect color mapping in the colors.json
  - updates some calls to functions to correctly get the natural colors
  - the incorrect red -> yellow mapping might have to do with the previous credentials error
This commit is contained in:
2020-05-17 22:59:12 +02:00
parent 1b7980e834
commit ee54dd5daa
13 changed files with 38 additions and 66 deletions

10
server.py Normal file
View File

@ -0,0 +1,10 @@
# Configuration
from server import app
from backend import routine
# routine.start()
if __name__ == "__main__":
context = ('certificate/xip.io.crt', 'certificate/xip.io.key')#certificate and key files
# app.run('0.0.0.0', 8084, ssl_context='adhoc', debug=True)
app.run(host='0.0.0.0', port=8084, debug=True)