feat(nginx): configure client max body size and update timeouts for API proxy
Deployment Config CI / Deployment Config (push) Successful in 15s
Frontend CI / Frontend (push) Successful in 2m16s

feat(clipboard): implement copyTextToClipboard utility function
feat(desktop): add upload timeout for desktop client release API
feat(k3s): add nginx config and update kustomization for ops-web
This commit is contained in:
2026-05-31 15:01:14 +08:00
parent 9dfc3746c3
commit de9c52be6d
7 changed files with 130 additions and 7 deletions
@@ -75,6 +75,8 @@ export interface DesktopClientReleaseDownloadURLResult {
expires_in?: number | null
}
const DESKTOP_CLIENT_RELEASE_UPLOAD_TIMEOUT_MS = 15 * 60 * 1000
export const platformOptions = [
{ label: 'macOS', value: 'darwin' },
{ label: 'Windows', value: 'win32' },
@@ -138,7 +140,9 @@ export const desktopClientReleaseApi = {
code: number
message: string
data: DesktopClientReleaseUploadResult
}>('/desktop-client/releases/upload', form)
}>('/desktop-client/releases/upload', form, {
timeout: DESKTOP_CLIENT_RELEASE_UPLOAD_TIMEOUT_MS,
})
return response.data.data
},
resolveDownloadURL(id: number) {