You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@steve.apache.org by gs...@apache.org on 2025/10/07 12:44:00 UTC

(steve) 02/03: Reload if the cert changes.

This is an automated email from the ASF dual-hosted git repository.

gstein pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/steve.git

commit 4c09a81b73f6b6593eeabc33443bb3e218950dd4
Author: Greg Stein <gs...@gmail.com>
AuthorDate: Mon Oct 6 19:50:03 2025 -0500

    Reload if the cert changes.
---
 v3/server/main.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/v3/server/main.py b/v3/server/main.py
index 77e0023..33d7295 100755
--- a/v3/server/main.py
+++ b/v3/server/main.py
@@ -65,6 +65,7 @@ def main():
     if app.cfg.server.certfile:
         kwargs['certfile'] = CERTS_DIR / app.cfg.server.certfile
         kwargs['keyfile'] = CERTS_DIR / app.cfg.server.keyfile
+        extra_files.update((kwargs['certfile'], kwargs['keyfile']))
 
     # Spool up the app!
     app.runx(port=app.cfg.server.port,