mirror of
https://github.com/Kozea/Radicale.git
synced 2025-06-26 16:45:52 +00:00
use one application for all hosts
This commit is contained in:
parent
dec2ad8bea
commit
9b029ac084
1 changed files with 1 additions and 1 deletions
|
@ -288,8 +288,8 @@ def serve(configuration, shutdown_socket=None):
|
|||
"Failed to parse address %r: %s" % (host, e)) from e
|
||||
server_addresses.append((address, port))
|
||||
|
||||
application = Application(configuration)
|
||||
for server_address in server_addresses:
|
||||
application = Application(configuration)
|
||||
try:
|
||||
server = ServerCopy(server_address, RequestHandlerCopy)
|
||||
server.set_app(application)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue