mirror of
https://github.com/empayre/fleet.git
synced 2024-11-06 17:05:18 +00:00
efb35b537a
* add prettier and have it format all js code except website: : * trying running prettier check in CI * fix runs on in CI * change CI job name * fix prettier erros and fix CI |
||
---|---|---|
.. | ||
redirect | ||
auth.js | ||
README.md |
Fleet Redux Middleware
The Fleet Redux Middleware handles actions before they hit the reducers. The current middleware does the following:
Authentication Middleware
The authentication middleware handles logging a user in/out and handles logging out a user when the API responds with an unauthenticated error.
Redirect Middleware
The redirect middleware transitions the user to the 500 page when an API call fails with a 500 status.