mirror of
https://github.com/usetrmnl/trmnl-api.git
synced 2026-04-29 13:35:13 -07:00
Updated container settings to be fresh
Necessary to ensure settings are unique per instance because, unfortunately, we have to deal with talking to two different TRMNL API endpoints now (i.e. `https://usetrmnl.com` and `https://usetrmnl.com/api`). Milestone: patch
This commit is contained in:
@@ -10,7 +10,7 @@ module TRMNL
|
||||
module Container
|
||||
extend Containable
|
||||
|
||||
register(:settings) { TRMNL::API::Configuration::Loader.new.call }
|
||||
register(:settings, as: :fresh) { TRMNL::API::Configuration::Loader.new.call }
|
||||
register(:requester) { API::Requester.new }
|
||||
register(:logger) { Cogger.new id: "trmnl-api", formatter: :json }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user