From 15e6d0fcd96acd02250fc6a5bff6590c118cb8a1 Mon Sep 17 00:00:00 2001 From: Pavel Makhov Date: Fri, 25 Jan 2019 22:26:16 -0500 Subject: store api keys and client settings in secrets.lua --- secrets.lua | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'secrets.lua') diff --git a/secrets.lua b/secrets.lua index 8ce0cb0..98051c7 100644 --- a/secrets.lua +++ b/secrets.lua @@ -1,15 +1,17 @@ ------------------------------------------------- --- Allows to store API keys in one place +-- Allows to store client specific settings in one place -- -- @author Pavel Makhov --- @copyright 2018 Pavel Makhov +-- @copyright 2019 Pavel Makhov -------------------------------------------- local secrets = { -- Yandex.Translate API key - https://tech.yandex.com/translate/ - translate_widget_api_key = '', + translate_widget_api_key = 'API_KEY', + -- OpenWeatherMap API key - https://openweathermap.org/appid - weather_widget_api_key = '' + weather_widget_api_key = 'API_KEY', + weather_widget_city = 'Montreal,ca' } return secrets -- cgit v1.2.3