Login via our own magic links, 3-step onboarding (domain, DNS records, first send), emails with status timeline, domains, API keys (live/test), webhooks, suppressions, team, usage + plan. Live/Test switch everywhere. Dev mock server + MOUNT.md listing the one-line axum mount and missing API pieces. Verified in a headless browser against the mock (24 screenshots). Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
17 lines
672 B
JavaScript
17 lines
672 B
JavaScript
// Runtime settings. Plain script (no module) so it can be swapped per deploy
|
|
// without touching the app code.
|
|
//
|
|
// apiBase — where the mail-server API lives. "" = same origin (the ServeDir
|
|
// mount in MOUNT.md). For local dev point it at the API, e.g.
|
|
// "http://127.0.0.1:8790"; the dashboard then needs CORS (see MOUNT.md).
|
|
// project — mail-auth project slug used for magic links (`POST /auth/magic-link`).
|
|
// docsUrl — link shown in the sidebar footer.
|
|
window.MAIL_DASHBOARD = Object.assign(
|
|
{
|
|
apiBase: "",
|
|
project: "dashboard",
|
|
docsUrl: "https://scribase.com/mail/docs",
|
|
},
|
|
window.MAIL_DASHBOARD || {}
|
|
);
|