Shopify trigger done

This commit is contained in:
Ricardo Espinoza
2019-12-02 16:21:55 -05:00
parent 8751694680
commit 6955109cbd
6 changed files with 478 additions and 2 deletions

View File

@@ -230,7 +230,10 @@ class App {
});
// Support application/json type post data
this.app.use(bodyParser.json({ limit: "16mb" }));
this.app.use(bodyParser.json({ limit: "16mb", verify: (req, res, buf) => {
// @ts-ignore
req.rawBody = buf;
}}));
// Make sure that Vue history mode works properly
this.app.use(history({