(window.webpackJsonp=window.webpackJsonp||[]).push([[3],{300:function(e,r,t){"use strict";t.r(r);var n=t(15);t(65),t(32);r.default={middleware:function(e){return Object(n.a)(regeneratorRuntime.mark((function r(){var t,n,o,c,d,w;return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return t=e.req,n=e.res,e.error,o=e.$axios,e.redirect,c=new URL(t.url,"https://".concat(t.headers.host)),d=c.searchParams.get("LINEUserID")||"",console.log(d),r.next=6,o.get("https://api.contree.io/profile",{params:{LINEUserID:d}});case 6:return w=r.sent,r.next=9,n.setHeader("Content-Type","application/json; charset=utf-8");case 9:n.end(JSON.stringify(w.data.slice(-1)));case 10:case"end":return r.stop()}}),r)})))()}}}}]);