Skip waiting on email to send when calling worker from contact form #3
@@ -48,7 +48,7 @@ ${message}`,
|
|||||||
"contact@michaelpivato.dev",
|
"contact@michaelpivato.dev",
|
||||||
msg.asRaw()
|
msg.asRaw()
|
||||||
);
|
);
|
||||||
await this.env.SEB.send(cfMessage);
|
this.ctx.waitUntil(this.env.SEB.send(cfMessage));
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
throw e;
|
throw e;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user