add secrets.lua to store api keys for translate shell and weather widget
This commit is contained in:
parent
57e0bbdc60
commit
504a051f08
|
@ -0,0 +1,17 @@
|
|||
-------------------------------------------------
|
||||
-- Allows to store client specific settings in one place
|
||||
--
|
||||
-- @author Pavel Makhov
|
||||
-- @copyright 2019 Pavel Makhov
|
||||
--------------------------------------------
|
||||
|
||||
local secrets = {
|
||||
|
||||
-- Yandex.Translate API key - https://tech.yandex.com/translate/
|
||||
translate_widget_api_key = os.getenv('AWW_TRANSLATE_API_KEY') or '<your_key>',
|
||||
|
||||
-- OpenWeatherMap API key - https://openweathermap.org/appid
|
||||
weather_widget_api_key = os.getenv('AWW_WEATHER_API_KEY') or '<your_key>',
|
||||
}
|
||||
|
||||
return secrets
|
Loading…
Reference in New Issue