role service-nginx-meshviewer: update config.js for latest release

This commit is contained in:
Julian Labus 2018-10-15 09:41:53 +02:00
parent d69d5bde3f
commit 12ac1e07e3
No known key found for this signature in database
GPG key ID: 8AF209F2C6B3572A

View file

@ -77,16 +77,16 @@ module.exports = function () {
7.609406
]
],
'siteNames': [
'domainNames': [
{% for mesh in meshes %}
{
'site': '{{ mesh.site_code }}',
'domain': '{{ mesh.site_code }}',
'name': '{{ mesh.site_name }}'
},
{% if mesh.sites_virtual is defined %}
{% for site, name in mesh.sites_virtual.items() %}
{
'site': '{{ site }}',
'domain': '{{ site }}',
'name': '{{ name }}'
},
{% endfor %}