This commit is contained in:
2018-10-13 09:46:34 -04:00
parent 8cc2e7b6f1
commit 588e91b19f
+2 -1
View File
@@ -1,3 +1,4 @@
import os
import responder
api = responder.API(enable_hsts=True)
@@ -8,4 +9,4 @@ def route(req, resp):
resp.text = "hello, world!"
api.run()
api.run(port=int(os.environ["PORT"]))