mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[mdns] Always broadcast yunohost.local
This commit is contained in:
parent
7c58aa198c
commit
3535b374ae
1 changed files with 2 additions and 0 deletions
|
@ -167,6 +167,8 @@ if __name__ == '__main__':
|
|||
if r == 'domains' or r == 'all':
|
||||
import glob
|
||||
config['domains'] = [ d.rsplit('/',1)[1][:-2] for d in glob.glob('/etc/nginx/conf.d/*.local.d') ]
|
||||
if 'yunohost.local' not in config['domains']:
|
||||
config['domains'].append('yunohost.local')
|
||||
print('Regenerated domains list: ' + str(config['domains']))
|
||||
updated = True
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue