Call worker from pages
I have a really simple website (remix) built and deployed with pages. I have contact form that when submitted sends an email. Currently I have it setup so that there is a worker running on different domain, and when the form is submitted my action function makes a request to the other domain and the worker on that domain sends the message.
My question is, is there a way to call email send script/worker directly such that it can all be hosted on a single domain. I would set up all the required bindings and so on. Basically, can I call my
My question is, is there a way to call email send script/worker directly such that it can all be hosted on a single domain. I would set up all the required bindings and so on. Basically, can I call my
mailer.js script from inside a remix function?