UNPKG

@toolisticon/ssl-hostinfo-prometheus-exporter

Version:

[![License](https://img.shields.io/github/license/mashape/apistatus.svg)](LICENSE) [![CI](https://github.com/toolisticon/ssl-hostinfo-prometheus-exporter/actions/workflows/build.yml/badge.svg)](https://github.com/toolisticon/ssl-hostinfo-prometheus-export

19 lines (15 loc) 312 B
let config = {}; function init () { let urls = []; try { urls = process.env.URLS_TO_CHECK.split(','); } catch (ignored) { } config = { port: process.env.SERVER_PORT || 9000, cron: process.env.CRON || '0 0 * * * *', urlsToCheck: urls }; } init(); module.exports = exports = config;