opencode/packages/web/config.mjs

15 lines
508 B
JavaScript
Raw Normal View History

2025-07-07 16:36:52 -04:00
const stage = process.env.SST_STAGE || "dev"
2025-06-20 13:22:31 -04:00
export default {
2025-09-09 23:43:37 -04:00
url: stage === "production" ? "https://opencode.ai" : `https://${stage}.opencode.ai`,
console: stage === "production" ? "https://opencode.ai/auth" : `https://${stage}.opencode.ai/auth`,
2025-09-02 17:28:32 -04:00
email: "contact@anoma.ly",
2025-06-27 20:03:17 -04:00
socialCard: "https://social-cards.sst.dev",
2025-06-20 13:22:31 -04:00
github: "https://github.com/sst/opencode",
2025-07-09 19:55:06 -04:00
discord: "https://opencode.ai/discord",
2025-06-20 13:22:31 -04:00
headerLinks: [
{ name: "Home", url: "/" },
{ name: "Docs", url: "/docs/" },
],
}