Commit Graph

3 Commits

Author SHA1 Message Date
Richard Cox 097a220225 Fix new, revealed issues. See PR for description 2024-02-29 17:30:26 +00:00
Richard Cox 582ba19ae4 Remove duplicate calls to mgmt settings on fresh load
- when findAll runs we cache running results with key `JSON.stringify(headers) + method + opt.url`
- if a request is made with a matching key we return the first result as the second result (avoiding duplicate requests)
- when mgmt settings were fetched with a hardcoded url ... url contains singular `setting`
- when mgmt settings are fetched without hardcoded url ... url contains plural `settings`
- therefore the second request was not using the cached first request

Also
- replaced findBy with .find
2024-02-29 17:30:26 +00:00
Neil MacDougall 13e4564eec
Fixes for setting custom favicon (#6185) 2022-06-17 07:40:03 +01:00