This function takes two arguments. The first one is the type of the
config variable user wants. If user wants to pass a "bearer token", then
he or she must has to pass "privBearerConfig" as the first argument
and the "token" as the second argument. If user wants to upload any file
without token, user has to pass only "pubMultConfig" as argument.
Else if user wants to upload any file with token, user must has to pass
"privMultConfig" as the first argument, and the "token" as the second argument.
Else the user will get a simple config variable that can be used for
login or registration.
Open the terminal. Just type "npm i axios-config" and hit enter.