aksiksi / vaulty

A service that allows users to send email directly to a cloud storage service.
https://vaulty.net
4 stars 0 forks source link

Move configuration logic to lib #43

Closed aksiksi closed 4 years ago

aksiksi commented 4 years ago

Easier to just unify config between filter and server.

Make sure to load the config statically in server so that it is globally accessible.

This also allows for quick adjustments to config (e.g., max email size) without rebuilding the binary.