diff --git a/scripts/autoserve.py b/scripts/autoserve.py index 6e69025..4c7739e 100644 --- a/scripts/autoserve.py +++ b/scripts/autoserve.py @@ -10,7 +10,7 @@ import select import inotify.adapters -PORT = 8000 +PORT = int(os.getenv('PORT', 8000)) THIS_DIR = os.path.dirname(os.path.abspath(__file__))