File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ const setupDebugInterceptor = axios => {
9595        '['  +  res . config . method . toUpperCase ( )  +  ']' , 
9696        res . config . url ) 
9797
98-       if  ( process . browser )  { 
98+       if  ( process . client )  { 
9999        console . log ( res ) 
100100      }  else  { 
101101        console . log ( JSON . stringify ( res . data ,  undefined ,  2 ) ) 
@@ -193,7 +193,7 @@ export default (ctx, inject) => {
193193  // runtimeConfig 
194194  const  runtimeConfig  =  ctx . $config  &&  ctx . $config . axios  ||  { } 
195195  // baseURL 
196-   const  baseURL  =  process . browser 
196+   const  baseURL  =  process . client 
197197    ? ( runtimeConfig . browserBaseURL  ||  runtimeConfig . browserBaseUrl  ||  runtimeConfig . baseURL  ||  runtimeConfig . baseUrl  ||  '<%= options.browserBaseURL || ' ' %>' ) 
198198      : ( runtimeConfig . baseURL  ||  runtimeConfig . baseUrl  ||  process . env . _AXIOS_BASE_URL_  ||  '<%= options.baseURL || ' ' %>' ) 
199199
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments