From 22bddaff52df8f9e04197f38cbaf3c8d8f7a8dc4 Mon Sep 17 00:00:00 2001 From: trivernis Date: Sun, 7 Nov 2021 17:19:52 +0100 Subject: [PATCH] Fix configured default socket file Signed-off-by: trivernis --- mediarepo-api/src/tauri_plugin/commands/repo.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mediarepo-api/src/tauri_plugin/commands/repo.rs b/mediarepo-api/src/tauri_plugin/commands/repo.rs index cea86b0..23dd053 100644 --- a/mediarepo-api/src/tauri_plugin/commands/repo.rs +++ b/mediarepo-api/src/tauri_plugin/commands/repo.rs @@ -161,7 +161,7 @@ pub async fn select_repository( async fn get_repo_address(path: String) -> PluginResult { let tcp_path = PathBuf::from(&path).join("repo.tcp"); - let socket_path = PathBuf::from(&path).join("repo.socket"); + let socket_path = PathBuf::from(&path).join("repo.sock"); let mut address = String::from("127.0.0.1:2400"); for _ in 0..10 {