Files
zeekay 6c65e3e941 @hanzo/app 0.2.0: the app SDK, renamed from @hanzo/rooms
Every import, the catalog pin and the docs name @hanzo/app and
github.com/hanzoai/app. lib/rooms.ts is lib/app.ts and
components/rooms.tsx is components/app.tsx.
2026-10-22 19:07:20 -07:00

21 lines
788 B
TypeScript

/**
* Where this site keeps what the rooms (@hanzo/app) link to, stated once.
*
* hanzo.ai serves its own pages, so `site` is empty; Home is `/home`, because
* `/` is the app; a new account starts at `/signup`. The gateway, IAM and the
* publishable key are the build's, when it names them. No plan catalogue is
* handed over: the rooms read GET /v1/billing/plans when a screen asks, as the
* site does (lib/api), so no page carries a copy of it. Imported by the root
* providers, so the addresses are set before anything renders.
*/
import { configure } from '@hanzo/app'
configure({
site: '',
home: '/home',
signUp: '/signup',
api: process.env.NEXT_PUBLIC_HANZO_API_URL,
iam: process.env.NEXT_PUBLIC_HANZO_IAM_URL,
key: process.env.NEXT_PUBLIC_PUBLISHABLE_KEY,
})