From dc933503b14030f587f34af0571eefcfabdce1d1 Mon Sep 17 00:00:00 2001 From: hosted-fornet Date: Wed, 10 Jul 2024 17:32:08 -0700 Subject: [PATCH] make settings non-secure again --- kinode/packages/settings/settings/src/lib.rs | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/kinode/packages/settings/settings/src/lib.rs b/kinode/packages/settings/settings/src/lib.rs index ec606c8f..e461bd58 100644 --- a/kinode/packages/settings/settings/src/lib.rs +++ b/kinode/packages/settings/settings/src/lib.rs @@ -157,12 +157,9 @@ fn initialize(our: Address) { .unwrap(); // Serve the index.html and other UI files found in pkg/ui at the root path. - //http::serve_ui(&our, "ui", true, false, vec!["/"]).unwrap(); - //http::bind_http_path("/ask", true, false).unwrap(); - //http::bind_ws_path("/", true, false).unwrap(); - http::secure_serve_ui(&our, "ui", vec!["/"]).unwrap(); - http::secure_bind_http_path("/ask").unwrap(); - http::secure_bind_ws_path("/", false).unwrap(); + http::serve_ui(&our, "ui", true, false, vec!["/"]).unwrap(); + http::bind_http_path("/ask", true, false).unwrap(); + http::bind_ws_path("/", true, false).unwrap(); // Grab our state, then enter the main event loop. let mut state: SettingsState = SettingsState::new(our);