import http from '@/api/http'; export default async (uuid: string, file: string, content: string): Promise => { await http.post(`/api/client/servers/${uuid}/files/write`, content, { params: { file }, headers: { 'Content-Type': 'text/plain', }, }); };