Files
opencode/packages/web/config.mjs
2025-09-09 23:44:04 -04:00

15 lines
508 B
JavaScript

const stage = process.env.SST_STAGE || "dev"
export default {
url: stage === "production" ? "https://opencode.ai" : `https://${stage}.opencode.ai`,
console: stage === "production" ? "https://opencode.ai/auth" : `https://${stage}.opencode.ai/auth`,
email: "contact@anoma.ly",
socialCard: "https://social-cards.sst.dev",
github: "https://github.com/sst/opencode",
discord: "https://opencode.ai/discord",
headerLinks: [
{ name: "Home", url: "/" },
{ name: "Docs", url: "/docs/" },
],
}