opencode/packages/web/config.mjs

15 lines
533 B
JavaScript
Raw Permalink Normal View History

2025-07-08 04:36:52 +08:00
const stage = process.env.SST_STAGE || "dev"
2025-06-21 01:22:31 +08:00
export default {
2025-09-10 11:43:37 +08:00
url: stage === "production" ? "https://opencode.ai" : `https://${stage}.opencode.ai`,
console: stage === "production" ? "https://opencode.ai/auth" : `https://${stage}.opencode.ai/auth`,
2026-06-10 07:31:54 +08:00
email: "help@anoma.ly",
2025-06-28 08:03:17 +08:00
socialCard: "https://social-cards.sst.dev",
github: "https://github.com/anomalyco/opencode",
2025-07-10 07:55:06 +08:00
discord: "https://opencode.ai/discord",
2025-06-21 01:22:31 +08:00
headerLinks: [
2026-02-10 01:34:35 +08:00
{ name: "app.header.home", url: "/" },
{ name: "app.header.docs", url: "/docs/" },
2025-06-21 01:22:31 +08:00
],
}