add /config endpoint, add docker proxy setup, and style chat box
This commit is contained in:
+2
-1
@@ -33,7 +33,8 @@ pub mod app;
|
||||
pub mod imp;
|
||||
mod msghtml;
|
||||
|
||||
pub static CONFIG: Lazy<GuiConfig> = Lazy::new(|| imp::load_config().unwrap_or_default());
|
||||
//pub static CONFIG: Lazy<GuiConfig> = Lazy::new(|| imp::load_config().unwrap_or_default());
|
||||
pub static CONFIG: async_cell::sync::AsyncCell<GuiConfig> = async_cell::sync::AsyncCell::new();
|
||||
|
||||
pub async fn network_entrypoint(mut event_rx: UnboundedReceiver<Command>) {
|
||||
loop {
|
||||
|
||||
Reference in New Issue
Block a user