import React, { useCallback, useEffect, useState } from 'react'; import { api } from './api.js'; import { copyToast } from './toast.js'; // amerc Mansion β a hall of amerc services. First live service: Showcase (reverse proxy). export default function Mansion({ auth, setRoute }) { if (!auth.ready) return
Loadingβ¦
A hall of amerc services that put your work on the open internet β each lives behind amerc's edge and is brought to life by your own broker. No servers to rent, no ports to forward.
{loggedIn ? {auth.user.handle}'s rooms are open : }{desc}
{feats &&{err}
} {created && (β {created.host} reserved Β· DNS {created.dns}
{created.tls &&π {created.tls}
}In the kebab delivery center: connect a broker to the WS with this token, send {`{type:"bind",host:"${created.host}",port:, and your local service is live at the public URL.
No showcases yet β register one above.
} > )}