fleet-router 0.6.0

Reverse proxy and load balancer for the Antelope SHiP (State History Plugin) WebSocket protocol.
1
2
3
4
5
6
7
8
// Applies a remembered theme before first paint. Loaded as a classic script
// (not a module) so it runs before the stylesheet renders.
(function () {
  try {
    var t = localStorage.getItem("fleet-router-theme");
    if (t === "light" || t === "dark") document.documentElement.setAttribute("data-theme", t);
  } catch (e) {}
})();