1
0
mirror of https://github.com/franjsco/umbrello-api synced 2025-02-05 10:17:34 +01:00

add config file

This commit is contained in:
Francesco Esposito 2019-08-15 23:22:02 +02:00
parent 077ebbb278
commit 6ccc9ef2ed

23
src/config.js Normal file
View File

@ -0,0 +1,23 @@
require('dotenv').config();
const owm = {
token: process.env.OWM_TOKEN,
baseurl: 'http://api.openweathermap.org/data/2.5',
lang: process.env.OWM_LANG,
units: process.env.OWM_UNITS,
};
const telegram = {
token: process.env.TELEGRAM_TOKEN,
};
const config = {
owm,
telegram,
};
export default config;