diff options
Diffstat (limited to 'service')
-rw-r--r-- | service/pixelated/application.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/service/pixelated/application.py b/service/pixelated/application.py index fbcc42c0..6c831d78 100644 --- a/service/pixelated/application.py +++ b/service/pixelated/application.py @@ -207,8 +207,10 @@ def start_site(config, resource): reactor.listenTCP(8008, telnetFactory, interface='localhost') reactor.listenTCP(8009, sshFactory, interface='localhost') + site = PixelatedSite(resource) + site.displayTracebacks = False if config.sslkey and config.sslcert: - reactor.listenSSL(config.port, PixelatedSite(resource), _ssl_options(config.sslkey, config.sslcert), + reactor.listenSSL(config.port, site, _ssl_options(config.sslkey, config.sslcert), interface=config.host) else: - reactor.listenTCP(config.port, PixelatedSite(resource), interface=config.host) + reactor.listenTCP(config.port, site, interface=config.host) |