fix: No root certificates in scratch container

This commit is contained in:
2026-06-20 02:42:53 +02:00
parent b30988f869
commit 9a5e7694c3
9 changed files with 40 additions and 18 deletions
+2 -1
View File
@@ -4,6 +4,7 @@ use std::net::SocketAddr;
use async_trait::async_trait;
use automation_lib::device::{Device, LuaDeviceCreate};
use automation_lib::lua::traits::PartialUserData;
use automation_lib::reqwest::new_client;
use automation_macro::{Device, LuaDeviceConfig};
use lua_typed::Typed;
use mlua::LuaSerdeExt;
@@ -98,7 +99,7 @@ impl HueBridge {
);
trace!(?flag, flag_id, value, "Sending request to change flag");
let res = reqwest::Client::new()
let res = new_client()
.put(url)
.json(&FlagMessage { flag: value })
.send()