The following pull request is a tweak on PR #14 to add the ability to set history persistence options from the config.json file.
In my previous PR I hardcoded it to saving history to the filesystem (storage: 'fs'), but I realised this might not be what people want, especially if they don't use the Elgato Eve app. Others might want to use the Google Drive storage option. For both these reasons, reading the options from the config seem more reasonable and flexible.
If you feel like it should behave differently by default, please let me know and I will change it.
Hi Thomas,
The following pull request is a tweak on PR #14 to add the ability to set history persistence options from the
config.json
file.In my previous PR I hardcoded it to saving history to the filesystem (
storage: 'fs'
), but I realised this might not be what people want, especially if they don't use the Elgato Eve app. Others might want to use the Google Drive storage option. For both these reasons, reading the options from the config seem more reasonable and flexible.If you feel like it should behave differently by default, please let me know and I will change it.