2018-05-29 18:39:09 +03:00
|
|
|
'use strict'
|
|
|
|
|
|
|
|
const express = require('express')
|
2018-08-20 19:59:33 +03:00
|
|
|
const { vers, heartbeat } = require('../controllers/dockerflow')
|
2018-05-29 18:39:09 +03:00
|
|
|
|
|
|
|
const router = express.Router()
|
|
|
|
|
2018-08-20 19:59:33 +03:00
|
|
|
router.get('/__version__', vers)
|
|
|
|
router.get('/__heartbeat__', heartbeat)
|
|
|
|
router.get('/__lbheartbeat__', heartbeat)
|
2018-05-29 18:39:09 +03:00
|
|
|
|
|
|
|
module.exports = router
|