Docs/apply note: MediaMTX does not hot-reload auth settings; restart between streams after auth changes
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
@@ -216,7 +216,13 @@ $("signout").onclick = async e => {
|
||||
const auth = "https://" + location.hostname.replace(/^[^.]+\./, "auth.") + "/if/flow/default-invalidation-flow/?next=" + encodeURIComponent(location.origin + "/dock/");
|
||||
setTimeout(() => location.replace(auth), 400);
|
||||
};
|
||||
whoami(); renderPreview();
|
||||
// On load: who am I, and mint a token right away so the preview and the manual section show real values.
|
||||
(async () => {
|
||||
await whoami();
|
||||
try { await mint(); status("ready"); }
|
||||
catch (e) { status(e.message, "bad"); $("m_tok").textContent = "— " + e.message; }
|
||||
})();
|
||||
renderPreview();
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user