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ZFja9VmkB
fMAXkgw90Oc6Ae0OMH/q6zfg5gcCgYEAxIJfsMXzIIcL35RTqo12aQEzaeE/Hi1E
W1eIwAlfIG1RLsSH+wMps1uswHI3FDXAR0p/EWeRisSIlN9yj0LYV/W/yipj37GI
I5xxdvl4O2ymvJza2rl5qs1on7KlnMUc+ULHerv40buMqI6Q40Pcdjs8jwovIU0o
BN/Ad/HrxZ0CgYEAjQ3+MBuEiI+8926uB4pmyfS1Iw8+tKPobKNXCbK5tD/tm67B
7X1xKHwmpBjJMBlYR1ywWP87bjS2Ucib16RLy0aaybwYMZcCUe5KPHYmeAKVDiGS
yYSzJVVscwkKHoD+QHmjrhbTiYmK79wRK/XCRnEUq+YBY3bYqgUtzQJPvD0CgYEA
tSqNFegpUZ+vbpzM1bw9omkdAUxMaIHLN3rn9EOvk7G02q0NwHkWBOlLxtCFvvgf
IJqps14MbCbs1HN8pl82HUHPY47ZLO37WPluEgXEtuRghBsIGgZNCQ7+mdyVmoaP
Q64xQhHyP0ntT6jAIwX5RncuSaFV+hmr/3JZeztp5nECgYBLnc5ck7aKbvAfxxvT
CHTO8jbebtJ7QdQPI8i03Z0jV5t/iKWu4+y6DBJB7+mPYg5uBEUdaTHok/yKMIPu
b9fTXFcUW1zJztfPYku74lkeeXsDrozF7l5w/yfTEtI6DvVv685hrDKooCtxkmuc
sqCpL2WKlMqThupIn200etV6HQ==
-----END PRIVATE KEY-----
import uvicorn
if __name__ == "__main__":
uvicorn.run("server.core:app", host="0.0.0.0", port=5000, reload=True)
\ No newline at end of file
uvicorn.run("server.core:app", host="0.0.0.0", port=5000, reload=True, ssl_keyfile="./key.pem", ssl_certfile="./cert.pem")
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment