00:09:27  * TheThingquit (Remote host closed the connection)
00:27:59  * TehShrikequit (Quit: Leaving.)
00:41:05  <ldiamond>Anyone around? I keep getting 404 Not Found for a route when I call async stuff (fetching from a db). I'm using koa 2, my function is defined "async (ctx, next) => ..." and I call the db async fn using "const result = await myDbFn()"
00:41:24  <ldiamond>if I change the whole body of this to "ctx.body = "Test", I see "Test".
00:41:44  <ldiamond>if I use "console.log(result)" I see the correct results.
00:55:29  * mezodquit (Remote host closed the connection)
01:01:01  * TehShrikejoined
01:29:39  * zzzjoined
02:02:07  * TehShrikequit (Quit: Leaving.)
03:24:17  * TheThingjoined
04:01:07  * Cohedrinquit (Quit: My Mac has gone to sleep. ZZZzzz…)
04:18:12  * Cohedrinjoined
04:39:45  * TheThingquit (Remote host closed the connection)
04:57:24  * frankdreyquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
05:29:42  * zzzquit (Quit: zzz)
05:30:11  * ldiamondquit (Ping timeout: 240 seconds)
06:07:42  * Jerry__joined
06:07:58  <Jerry__>hi
06:08:14  <Jerry__>How to get origin request and response?
06:08:40  <Jerry__>from koa context
06:13:22  * TheThingjoined
07:17:56  * TheThing_joined
07:17:56  * TheThingquit (Read error: Connection reset by peer)
07:36:46  <ASEV>Jerry__: what do you mean?
07:37:45  <ASEV>ctx.request.origin -- Get origin of URL, include protocol and host.
07:48:12  <Jerry__>I want use req.pipe()
07:49:09  <Jerry__>It's belong original request
07:52:03  <ASEV>Can you explain more specifically what you want to do?
07:57:25  * SuperHansjoined
08:01:14  <Jerry__>😅
08:01:36  <ASEV>☃︎
08:02:03  <Jerry__>I want to use node original request in koa2
08:02:11  <ASEV>ctx.req
08:02:25  <ASEV>that will give you the original node request object
08:03:03  <Jerry__>yes, I just find It on doc
08:03:46  <Jerry__>😀 thanks!
08:11:53  * frankdreyjoined
08:31:59  * TheThingjoined
08:31:59  * TheThing_quit (Read error: Connection reset by peer)
08:32:41  * SuperHansquit (Remote host closed the connection)
08:33:34  * SuperHansjoined
08:40:10  * TheThingquit (Remote host closed the connection)
08:57:02  * Cohedrinquit (Quit: My Mac has gone to sleep. ZZZzzz…)
09:41:39  * ericchuquit (Ping timeout: 276 seconds)
09:45:14  * ericchujoined
10:04:25  * frankdreyquit (Quit: Textual IRC Client: www.textualapp.com)
10:07:56  * Jerry__quit (Quit: Page closed)
11:22:48  * SuperHansquit (Remote host closed the connection)
11:39:27  * mezodjoined
11:48:19  * SuperHansjoined
12:35:02  * SuperHansquit (Remote host closed the connection)
12:45:39  * zzzjoined
13:23:23  * SuperHansjoined
13:29:12  * TheThingjoined
13:34:21  * zzzquit (Ping timeout: 276 seconds)
13:36:24  * TheThingquit (Remote host closed the connection)
13:52:20  * SuperHansquit (Remote host closed the connection)
13:55:28  * SuperHansjoined
14:00:30  * TehShrikejoined
14:59:19  * phairohjoined
15:13:09  * alex---joined
15:13:59  * SuperHansquit (Ping timeout: 258 seconds)
15:19:21  * TheThingjoined
15:38:57  * SuperHansjoined
15:39:09  * alex---quit (Ping timeout: 240 seconds)
16:37:23  * ldiamondjoined
16:41:45  * SuperHansquit (Remote host closed the connection)
17:40:05  * TheThingquit (Remote host closed the connection)
17:55:50  * mezodquit (Remote host closed the connection)
18:02:11  * Cohedrinjoined
20:01:45  * _-___-_joined
20:27:26  * _-___-_quit (K-Lined)
22:24:01  * AustinMathernejoined
22:43:11  * TheThingjoined
23:08:39  * frankdreyjoined
23:39:29  * mezodjoined
23:52:18  * TheThing_joined
23:52:18  * TheThingquit (Read error: Connection reset by peer)