Add selectable port on autoserve script.
This commit is contained in:
parent
8ef3c5a636
commit
f6254a6c53
@ -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__))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user