My Axios Configuration
Graypes last edited by
I was refactoring today and ended up completely revamping my Axios configuration to reduce all of my duplicate code. Really happy with it!
- Default headers but specific to http methods
- Request interceptor for logging
- Response interceptor for logging
dobbel last edited by
@Graypes nice work!