More robust logic to pass procedures to the index.html template
This commit is contained in:
parent
edd2235cbc
commit
737c135996
1 changed files with 1 additions and 2 deletions
|
@ -17,10 +17,9 @@
|
|||
has_ssl: {{ 'true' if has_ssl else 'false' }},
|
||||
templates: JSON.parse('{{ utils.to_json(templates)|safe }}'),
|
||||
scripts: JSON.parse('{{ utils.to_json(scripts)|safe }}'),
|
||||
procedures: JSON.parse('{{ procedures.replace("\'", "\\\'")|safe }}'),
|
||||
procedures: JSON.parse({{ utils.to_json(procedures)|safe }}),
|
||||
};
|
||||
|
||||
|
||||
var __plugins__ = JSON.parse('{{ utils.to_json(plugins)|safe }}');
|
||||
var __backends__ = JSON.parse('{{ utils.to_json(backends)|safe }}');
|
||||
|
||||
|
|
Loading…
Reference in a new issue