Files
Nexus/web/app/assets/useServerList-C29Mahla.js
T
Your Name 51948469c2 build(frontend): track Vite output in Git for Gitea deploy
- Stop ignoring web/app/index.html and web/app/assets/
- Bundle index-DBKIQT7H.js from current vite build (~101MB assets)

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-03 00:52:44 +08:00

1 line
283 B
JavaScript

import{Lt as e,xr as t}from"./index-DF_h99fc.js";function n(){let n=t([]),r=t(!1);async function i(t){r.value=!0;try{n.value=(await e.get(`/servers/`,{per_page:t?.perPage??200})).items||[]}catch{n.value=[]}finally{r.value=!1}}return{servers:n,loading:r,loadServers:i}}export{n as t};