coyotte508 HF staff commited on
Commit
5ddc821
·
1 Parent(s): ae53db5

Update server.ts

Browse files
Files changed (1) hide show
  1. server.ts +1 -0
server.ts CHANGED
@@ -3,6 +3,7 @@ import Koa from "koa";
3
  const app = new Koa();
4
 
5
  app.use((ctx) => {
 
6
  ctx.body = {
7
  fullUrl: ctx.request.url,
8
  query: ctx.request.query,
 
3
  const app = new Koa();
4
 
5
  app.use((ctx) => {
6
+ console.log(ctx.request.url, ctx.request.method);
7
  ctx.body = {
8
  fullUrl: ctx.request.url,
9
  query: ctx.request.query,