mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Invoke serve task docstring: port is configurable
This commit is contained in:
parent
4b5610175f
commit
8b4c46d74b
1 changed files with 1 additions and 1 deletions
|
|
@ -65,7 +65,7 @@ def regenerate(c):
|
||||||
|
|
||||||
@task
|
@task
|
||||||
def serve(c):
|
def serve(c):
|
||||||
"""Serve site at http://localhost:8000/"""
|
"""Serve site at http://localhost:$PORT/ (default port is 8000)"""
|
||||||
|
|
||||||
class AddressReuseTCPServer(RootedHTTPServer):
|
class AddressReuseTCPServer(RootedHTTPServer):
|
||||||
allow_reuse_address = True
|
allow_reuse_address = True
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue