@stacksjs/router 0.58.67 → 0.58.68

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/dist/index.js CHANGED
@@ -825,7 +825,7 @@ class Router {
825
825
  async health() {
826
826
  const healthModule = await import(path2.userActionsPath("HealthAction.ts"));
827
827
  const callback = healthModule.default.handle;
828
- this.addRoute("GET", "/api/healthy", callback, 200);
828
+ this.addRoute("GET", "/api/health", callback, 200);
829
829
  return this;
830
830
  }
831
831
  async job(path5) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/router",
3
3
  "type": "module",
4
- "version": "0.58.67",
4
+ "version": "0.58.68",
5
5
  "description": "The Stacks framework router.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
package/src/router.ts CHANGED
@@ -66,7 +66,7 @@ export class Router implements RouterInterface {
66
66
  const healthModule = await import(p.userActionsPath('HealthAction.ts'))
67
67
  const callback = healthModule.default.handle
68
68
 
69
- this.addRoute('GET', '/api/healthy', callback, 200)
69
+ this.addRoute('GET', '/api/health', callback, 200)
70
70
  return this
71
71
  }
72
72