mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-11-28 03:02:38 +01:00
Make plugins scrollable
This commit is contained in:
1 parent
ba6163b6d8
commit
07b90c6ae3
2 files changed
+2
-7
No files matched your search
@@ -96,11 +96,7 @@ pub async fn search_plugins<R: Runtime>(
|
||||
}
|
||||
|
||||
fn build_url(path: &str) -> Url {
|
||||
let base_url = if is_dev() {
|
||||
"http://localhost:9444/api/v1/plugins"
|
||||
} else {
|
||||
"https://api.yaak.app/api/v1/plugins"
|
||||
};
|
||||
let base_url = "https://api.yaak.app/api/v1/plugins";
|
||||
Url::from_str(&format!("{base_url}{path}")).unwrap()
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user