diff options
Diffstat (limited to 'scripts/http-server.py')
-rw-r--r-- | scripts/http-server.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/http-server.py b/scripts/http-server.py index dd7ec9a2..9ae9a43d 100644 --- a/scripts/http-server.py +++ b/scripts/http-server.py @@ -13,4 +13,4 @@ certChain.load_from_PEM(cfg.multiget(section, "https-cert")) def handler(query, path): return 200, "Path: %s\nQuery: %s" % (path, query) -rpki.https.server(privateKey=privateKey, certChain=certChain, handlers={"/" : handler}) +rpki.https.server(privateKey=privateKey, certChain=certChain, handlers=handler) |