(window.webpackJsonp=window.webpackJsonp||[]).push([[4],{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,c,o,d,w;return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return t=e.req,n=e.res,e.error,c=e.$axios,e.redirect,o=new URL(t.url,"https://".concat(t.headers.host)),d=o.searchParams.get("LINEUserID")||"",r.next=5,c.get("https://api.contree.io/profile",{params:{LINEUserID:d}});case 5:return w=r.sent,r.next=8,n.setHeader("Content-Type","application/json; charset=utf-8");case 8:n.end(JSON.stringify(w.data.slice(-1)));case 9:case"end":return r.stop()}}),r)})))()}}}}]);