mirror of
https://github.com/drawdb-io/drawdb.git
synced 2026-05-30 01:01:12 +08:00
10 lines
217 B
JavaScript
10 lines
217 B
JavaScript
import axios from "axios";
|
|
|
|
export async function send(subject, message, attachments) {
|
|
return await axios.post(`${import.meta.env.VITE_BACKEND_URL}/email/send`, {
|
|
subject,
|
|
message,
|
|
attachments,
|
|
});
|
|
}
|