chore: sync running docker state

Commit the app code currently running in Docker, including scheduler, store status, journal reminder, maintenance mode, and Foodsharing API check updates. Remove generated runtime logs from version control and ignore local runtime captures.
This commit is contained in:
2026-06-14 21:21:07 +02:00
parent 1e754023c3
commit bd41e8c079
46 changed files with 3010 additions and 7522 deletions

View File

@@ -20,7 +20,20 @@ function shouldNotifyAdminSessionError(key) {
function isUnauthorizedError(error) {
const status = error?.response?.status;
return status === 401 || status === 403;
if (status === 401) {
return true;
}
if (status !== 403) {
return false;
}
const data = error?.response?.data;
const message =
typeof data === 'string'
? data
: typeof data?.message === 'string'
? data.message
: '';
return message.toLowerCase().includes('not logged in');
}
function isCsrfError(error) {