mirror of
https://github.com/9technologygroup/patchmon.net.git
synced 2025-11-21 15:09:21 +00:00
Merge pull request #129 from PatchMon/dev-1-2-8
Global Search + Proxmox Auto lxc enrollment
This commit is contained in:
@@ -260,4 +260,9 @@ export const formatRelativeTime = (date) => {
|
||||
return `${seconds} second${seconds > 1 ? "s" : ""} ago`;
|
||||
};
|
||||
|
||||
// Search API
|
||||
export const searchAPI = {
|
||||
global: (query) => api.get("/search", { params: { q: query } }),
|
||||
};
|
||||
|
||||
export default api;
|
||||
|
||||
Reference in New Issue
Block a user