mirror of
https://github.com/hanzo-apps/hanzo.ai.git
synced 2026-10-28 07:32:52 +00:00
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.
21 lines
788 B
TypeScript
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,
|
|
})
|