Skip to content

SubdomainPathPage

reference
1 min readUpdated

Kind: Function

Source: atloria-monorepo/apps/web/src/app/subdomain/[slug]/[...path]/page.tsx

Subdomain path handler for *.atloria.app/audience/document

Middleware rewrites myapp.atloria.app/developers/getting-started → /subdomain/myapp/developers/getting-started

Resolves slug → slugId, then redirects to /p/[slugId]/[...path]

Signature

ts
async function SubdomainPathPage({ params }: SubdomainPathPageProps)

Parameters

NameType
{ params }SubdomainPathPageProps

Was this page helpful?

Download as PDF