verifyRequest Koa js

Highlighted
Shopify Partner
6 0 1

I have problem, i want create one  page url example:/login without ember app. It alway go redirect to /auth. 
Can someone help me. 

server.use(graphQLProxy({ version: ApiVersion.April19 }));
//
router.get('*', verifyRequest(), async (ctx) => {
await handle(ctx.req, ctx.res);
ctx.respond = false;
ctx.res.statusCode = 200;
});

// router.get("/login", async ctx => {
// await app.render(ctx.req, ctx.res, "/login");
// });
//
1 Like