mirror of
https://github.com/tiffany352/rink-rs
synced 2024-11-10 05:34:14 +00:00
900b07528a
Adds `currency.fetch_on_startup` to the config, which when set to false behaves as if the `cache_duration` was infinite. This means rink will fetch the file once, and then keep reusing that file indefinitely. Adds a `--fetch-currency` CLI argument, which will make rink download the latest version of the currency data and then exit. This can be put into a cron job and used together with the config option so that rink will never block on a web request at startup, without giving up currency units. Requires manual setup though.
12 lines
162 B
Text
12 lines
162 B
Text
**/target
|
|
**/.idea
|
|
**/node_modules
|
|
**/node_modules.*
|
|
**/.cache
|
|
**/dist
|
|
**/__sapper__
|
|
**/.rpt2_cache
|
|
**/build
|
|
/web/data
|
|
# created by unit tests
|
|
/cli/currency.json
|