mirror of
https://github.com/uqbar-dao/nectar.git
synced 2024-12-23 08:32:23 +03:00
make settings non-secure again
This commit is contained in:
parent
b4395e074b
commit
dc933503b1
@ -157,12 +157,9 @@ fn initialize(our: Address) {
|
|||||||
.unwrap();
|
.unwrap();
|
||||||
|
|
||||||
// Serve the index.html and other UI files found in pkg/ui at the root path.
|
// 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::serve_ui(&our, "ui", true, false, vec!["/"]).unwrap();
|
||||||
//http::bind_http_path("/ask", true, false).unwrap();
|
http::bind_http_path("/ask", true, false).unwrap();
|
||||||
//http::bind_ws_path("/", 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();
|
|
||||||
|
|
||||||
// Grab our state, then enter the main event loop.
|
// Grab our state, then enter the main event loop.
|
||||||
let mut state: SettingsState = SettingsState::new(our);
|
let mut state: SettingsState = SettingsState::new(our);
|
||||||
|
Loading…
Reference in New Issue
Block a user