Tietokilta / laskugeneraattori

MIT License
1 stars 2 forks source link

chore: make email an optional feature #35

Closed lajp closed 2 weeks ago

lajp commented 1 month ago

When running with --no-default-features (or in general without the "email"-feature) the generated PDFs are returned in the response body instead of them being sent via email.

This may be useful for debugging.

IiroP commented 1 month ago

This does not solve testing with NextJS, since the response is handled on the backend and not shown in browser.

Easy solution would be to store pdf file somewhere