Add selectable port on autoserve script.
This commit is contained in:
parent
8ef3c5a636
commit
f6254a6c53
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue