mirror of
https://github.com/Termix-SSH/Termix.git
synced 2026-10-28 06:05:24 +00:00
feat: plugins only see their own host settings in the browser
This commit is contained in:
1 parent
50d43e29fb
commit
fb9c168b6b
17 files changed
+488
-52
No files matched your search
@@ -48,6 +48,10 @@ function app(): TermixApp {
|
||||
return current;
|
||||
}
|
||||
|
||||
export function listHosts(): ReturnType<TermixApp["listHosts"]> {
|
||||
return app().listHosts();
|
||||
}
|
||||
|
||||
export function fileManagerApi(): FileManagerClient {
|
||||
return app().api as unknown as FileManagerClient;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user