mirror of
https://github.com/kennethreitz/responder.git
synced 2026-06-05 23:00:17 +00:00
fix
This commit is contained in:
+2
-1
@@ -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"]))
|
||||
|
||||
Reference in New Issue
Block a user