Commit 888f1360 authored by Guillermo Sanz López's avatar Guillermo Sanz López
Browse files

add

parent 551d7caa
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -12,6 +12,7 @@ const axiosInstance = axios.create({
// REQUEST interceptor for API calls -> if user is logged in, add token to headers of request
axiosInstance.interceptors.request.use(
  req => {
    
    // show log in development mode
    if (process.env.NODE_ENV === 'development') {
      if (req.data && DEBUG_SHOW_DATA) {