mirror of
https://github.com/standardnotes/server
synced 2026-07-14 00:01:54 -04:00
* wip: move valet token controller * wip: move users controller * wip: move admin controller * wip: move subscription tokens controller * wip: move subscription settings controller * wip: move settings controller * wip: move middleware * wip: move session controller * wip: move offline controller * wip: move listed controller * wip: move internal controller * wip: move healthcheck controller * wip: move features controller * fix: bind inversify express controllers only for home server * fix: inversify deps
10 lines
222 B
TypeScript
10 lines
222 B
TypeScript
import { controller, httpGet } from 'inversify-express-utils'
|
|
|
|
@controller('/healthcheck')
|
|
export class InversifyExpressHealthCheckController {
|
|
@httpGet('/')
|
|
public async get(): Promise<string> {
|
|
return 'OK'
|
|
}
|
|
}
|