Add Route to Node Shopify CLI Starter Code

kevinman003
Visitor
1 0 0

Hi,

I'm trying to add a simple custom route to the Node Shopify CLI starter code with

  router.get("/app", verifyRequest(), async (ctx) => {
    ctx.body = { msg: "fdsa" };
  });

, but I make the request to /app I get a response from /auth. I think this is from the verifyRequest() middleware redirecting to /auth which I also think gets handled by createShopifyAuth(), but how am I supposed to access the data I am supposed to get from the /app route?

 

Thank you

Reply 1 (1)

jvs1992
Visitor
3 0 0

Was a solution for this ever found? I am having the same issue.