// Default server URL. The app is served by the server at /monitor/, so the API
// lives at the same origin — default to it. (A user can still override on the
// sign-in screen; persisted to localStorage.) The file:// fallback only applies
// if the page is ever opened locally instead of from the server.
window.MM_CONFIG = {
  defaultServerUrl: /^https?:$/.test(location.protocol)
    ? location.origin
    : "http://127.0.0.1:4000",
};
