emberry-org / emberry

🍊 A new way to chat with Friends
GNU General Public License v3.0
13 stars 1 forks source link

Wont create directories #28

Closed devensiv closed 1 year ago

devensiv commented 1 year ago

When the directory that is supposed to house the warehouse database does not exist it wont be created and emberry will use an in memory database

The same applies for generating a pem file within emberry which will panic if the dir does not exist

devensiv commented 1 year ago

fixed in 35dd2935

devensiv commented 1 year ago

Check if the path "is_file" returns false when the file does not exist and treats the path as invalid therfore