Arvin.qi 7 år sedan
förälder
incheckning
ae9e913124
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      plugins/nuxtAxios.js

+ 1 - 1
plugins/nuxtAxios.js

@@ -18,7 +18,7 @@ export default function ({ $axios, redirect, req, ...args }) {
         // stringify post data
         if (config.method === 'post') {
             // config.headers['Content-Type'] = 'application/x-www-form-urlencoded; charset=UTF-8';
-            console.log(config.headers, config.url);
+            console.log(config.headers, config.url, req);
             const data = config.data;
             let formData = ''
             for(const key in data) {