read config var in js
This commit is contained in:
parent
10001c5383
commit
8686887695
2 changed files with 4 additions and 1 deletions
|
|
@ -1,5 +1,5 @@
|
|||
window.liveSettings = {
|
||||
api_key: '',
|
||||
api_key: "CONFIG['transifex_live_api_key']",
|
||||
picker: "bottom-right",
|
||||
detectlang: true,
|
||||
autocollect: true
|
||||
|
|
|
|||
|
|
@ -21,6 +21,9 @@ defaults: &defaults
|
|||
ichain:
|
||||
enabled: false
|
||||
|
||||
# Enter your key, provided by transifex live settings, in the quotes
|
||||
transifex_live_api_key: ''
|
||||
|
||||
development:
|
||||
<<: *defaults
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue