Skip to content

SubdomainPage

reference
1 min readUpdated

Kind: Function

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

Subdomain entry point for *.atloria.app

The middleware rewrites myapp.atloria.app/* → /subdomain/myapp/* This page resolves the slug to a slugId via the API, then redirects to the existing /p/[slugId] routes which handle all the rendering.

Signature

ts
async function SubdomainPage({ params }: SubdomainPageProps)

Parameters

NameType
{ params }SubdomainPageProps

Was this page helpful?

Download as PDF