@azteam/express 1.2.231 → 1.2.232

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/Server.js +5 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@azteam/express",
3
- "version": "1.2.231",
3
+ "version": "1.2.232",
4
4
  "main": "src/index.js",
5
5
  "engines": {
6
6
  "node": ">= 12.0.0",
package/src/Server.js CHANGED
@@ -306,6 +306,11 @@ class Server {
306
306
  app.all('/', async function (req, res) {
307
307
  return res.success('welcome');
308
308
  });
309
+ app.get('/track', async function (req, res) {
310
+ return res.success({
311
+ ...req.trackDevice,
312
+ });
313
+ });
309
314
 
310
315
  app.use(function (req, res) {
311
316
  throw new ErrorException(NOT_FOUND);