fix(vpn): use to_file_path

This commit is contained in:
Ashley Wulber 2025-08-14 15:08:29 -04:00 committed by Jeremy Soller
parent 6e67ff11e0
commit d928f3f4d5

View file

@ -998,7 +998,8 @@ fn add_network() -> Task<crate::app::Message> {
return Message::AddWireGuardDevice(device, filename.to_owned(), path);
} else {
super::nm_add_vpn_file("openvpn", response.url().path()).await
super::nm_add_vpn_file("openvpn", response.url().to_file_path().unwrap())
.await
};
match result {