2020-04-02 14:22:59 +02:00
|
|
|
# Configuration
|
2020-04-22 22:15:21 +02:00
|
|
|
from server import app
|
2020-04-24 19:54:56 +02:00
|
|
|
from backend import routine
|
|
|
|
|
2020-05-09 09:44:15 +02:00
|
|
|
# routine.start()
|
2020-04-14 22:11:34 +02:00
|
|
|
|
2020-04-02 14:22:59 +02:00
|
|
|
if __name__ == "__main__":
|
2020-04-07 18:29:51 +02:00
|
|
|
context = ('certificate/xip.io.crt', 'certificate/xip.io.key')#certificate and key files
|
2020-04-14 22:11:34 +02:00
|
|
|
app.run('0.0.0.0', 1234, ssl_context=context, debug=True)
|
2020-04-02 14:22:59 +02:00
|
|
|
|
|
|
|
|
|
|
|
|