justuser 3 months ago
parent 311cde3b15
commit b9aaef110f

@ -62,7 +62,7 @@ def update_sites(n, s_val):
res = [] res = []
for i in next(walk('cached/'), (None, None, []))[1]: for i in next(walk('cached/'), (None, None, []))[1]:
conf = read(f'cached/{i}/config.json') conf = read(f'cached/{i}/config.json')
res.append(html.Div([ dcc.Link(children=i, href=f'{domain}/{i}', res.append(html.Div([ dcc.Link(children=i, href=f'http://{i}',
target='_blank') ], className='sites_elem')) target='_blank') ], className='sites_elem'))
return res return res

Loading…
Cancel
Save