Port is configurable now
This commit is contained in:
parent
b80b80dc43
commit
7ca904564c
|
@ -6,6 +6,7 @@ consumer_secret = "your_consumer_secret"
|
||||||
|
|
||||||
[web]
|
[web]
|
||||||
host = "0.0.0.0" # will be used by bottle as a host.
|
host = "0.0.0.0" # will be used by bottle as a host.
|
||||||
|
port = 80
|
||||||
contact = "b3yond@riseup.net"
|
contact = "b3yond@riseup.net"
|
||||||
|
|
||||||
[mail]
|
[mail]
|
||||||
|
|
|
@ -264,6 +264,6 @@ bottle.install(SessionPlugin('/'))
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
# testing only
|
# testing only
|
||||||
bottle.run(host='localhost', port=8080)
|
bottle.run(host='localhost', port=config["web"]["port"])
|
||||||
else:
|
else:
|
||||||
application.catchall = False
|
application.catchall = False
|
||||||
|
|
Loading…
Reference in a new issue