@di-zed/yandex-smart-home
Version:
The Yandex Smart Home skills for the different device types.
21 lines (20 loc) • 482 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
/**
* REST Index Controller.
*/
class IndexController {
/**
* HEAD Method.
* Checking the provider's Endpoint URL availability.
* https://yandex.ru/dev/dialogs/smart-home/doc/reference/check.html?lang=en
*
* @param req
* @param res
* @returns Response
*/
index(req, res) {
return res.status(200).json();
}
}
exports.default = IndexController;