@quintype/framework 7.18.2-webengage.0 → 7.18.2-webengage.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/server/routes.js +3 -2
package/package.json
CHANGED
package/server/routes.js
CHANGED
|
@@ -427,8 +427,9 @@ exports.isomorphicRoutes = function isomorphicRoutes(
|
|
|
427
427
|
|
|
428
428
|
app.post("/register-fcm-topic", bodyParser.json(), withConfig(registerFCMTopic, { publisherConfig, fcmServerKey }));
|
|
429
429
|
|
|
430
|
-
app.post("/
|
|
431
|
-
|
|
430
|
+
app.post("/webengage-api", bodyParser.json(), (req, res) => {
|
|
431
|
+
console.log("hit /webengage-api", req.body);
|
|
432
|
+
res.json({ status: "webengage-notified", data: req.body });
|
|
432
433
|
});
|
|
433
434
|
|
|
434
435
|
if (manifestFn) {
|