This commit is contained in:
j3d1 2023-05-14 00:14:06 +02:00
parent d582b29d7a
commit c31ad9f354

View file

@ -130,6 +130,10 @@ export default createStore({
return ['127.0.0.1:8000'];
if (domain === 'example.com')
return ['10.23.42.128:8000'];
if (domain === 'example.jedi')
return ['10.23.42.128:8000'];
if (domain === 'example2.com')
return ['10.23.42.128:9000'];
const request = '_toolshed-server._tcp.' + domain + '.'
return await state.resolver.query(request, 'SRV').then(
(result) => result.map(