13 строки
288 B
JavaScript
13 строки
288 B
JavaScript
'use strict'
|
|
|
|
const express = require('express')
|
|
const { vers, heartbeat } = require('../controllers/dockerflow')
|
|
|
|
const router = express.Router()
|
|
|
|
router.get('/__version__', vers)
|
|
router.get('/__heartbeat__', heartbeat)
|
|
router.get('/__lbheartbeat__', heartbeat)
|
|
|
|
module.exports = router
|