Compare commits
4 Commits
061ee7c7fd
...
v0.1.2
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a73105586b | ||
|
|
c6ff80655b | ||
|
|
0956271e29 | ||
|
|
620be9ccda |
@@ -7,7 +7,7 @@
|
|||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
"registry": "https://gitea.auvem.com/api/packages/end/npm/"
|
"registry": "https://gitea.auvem.com/api/packages/end/npm/"
|
||||||
},
|
},
|
||||||
"version": "0.1.0",
|
"version": "0.1.2",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"types": "dist/index.d.ts",
|
"types": "dist/index.d.ts",
|
||||||
|
|||||||
@@ -1,2 +1,3 @@
|
|||||||
export * from './liveness';
|
export * from './liveness';
|
||||||
export * from './readiness';
|
export * from './readiness';
|
||||||
|
export * from './checks';
|
||||||
|
|||||||
@@ -196,7 +196,7 @@ export class ScheduledReadiness {
|
|||||||
*/
|
*/
|
||||||
createHandler(): () => Promise<Response> {
|
createHandler(): () => Promise<Response> {
|
||||||
return async () => {
|
return async () => {
|
||||||
const result = await this.getNextResult();
|
const result = this.getResult();
|
||||||
if (!result) {
|
if (!result) {
|
||||||
return new Response(
|
return new Response(
|
||||||
JSON.stringify({
|
JSON.stringify({
|
||||||
|
|||||||
Reference in New Issue
Block a user