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:
parent
077ebbb278
commit
6ccc9ef2ed
23
src/config.js
Normal file
23
src/config.js
Normal 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;
|
Loading…
x
Reference in New Issue
Block a user