diff --git a/src/routes.js b/src/routes.js index 95a14930..71bea40c 100644 --- a/src/routes.js +++ b/src/routes.js @@ -486,7 +486,11 @@ module.exports = async ( }) app.get('/tunnel/status', async (req, res) => { - res.json({ uri: await Storage.getItem('tunnel/url') }) + const [relayId, relayUrl] = await Promise.all([ + Storage.getItem('relay/id'), + Storage.getItem('relay/url') + ]) + res.json({ uri: `${relayId}@${relayUrl}` }) }) /**