@steedos/service-api 2.2.52-beta.24 → 2.2.52-beta.25

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/index.js +8 -0
  2. package/package.json +3 -3
package/index.js CHANGED
@@ -104,6 +104,14 @@ module.exports = {
104
104
  use: [],
105
105
 
106
106
  routes: [
107
+ {
108
+ aliases: {
109
+ "GET /api/health"(req, res){
110
+ res.writeHead(200, { 'Content-Type': 'application/json' });
111
+ res.end(JSON.stringify({ status: 'ok' }));
112
+ }
113
+ }
114
+ },
107
115
  {
108
116
  path: "/service/api",
109
117
 
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@steedos/service-api",
3
- "version": "2.2.52-beta.24",
3
+ "version": "2.2.52-beta.25",
4
4
  "main": "index.js",
5
5
  "license": "MIT",
6
6
  "dependencies": {
7
- "@steedos/auth": "2.2.52-beta.24",
7
+ "@steedos/auth": "2.2.52-beta.25",
8
8
  "graphql-iso-date": "^3.6.1",
9
9
  "graphql-type-json": "^0.3.2",
10
10
  "moleculer-apollo-server": "^0.3.3",
@@ -14,5 +14,5 @@
14
14
  "publishConfig": {
15
15
  "access": "public"
16
16
  },
17
- "gitHead": "df7ecf38938c2dc5573564a51afc397e56d9c1f2"
17
+ "gitHead": "8889080266abf6385004c39529e6fee97735333e"
18
18
  }