add config file
This commit is contained in:
parent
077ebbb278
commit
6ccc9ef2ed
|
@ -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;
|
Loading…
Reference in New Issue