Mount another Frontend at a path
Changed onServes path_prefix and everything under it on this Frontend's hostnames from another Frontend in the same Project. The path is forwarded unchanged, so the mounted Frontend must serve its pages under the prefix (page directories or a matching basePath). Its root /_next/static files and /_next/image requests are sent to it too. A Frontend may be mounted at several prefixes. Function and Frontend routes share one path namespace and the 64-route limit; the most specific prefix wins. A mounted Frontend's own routes do not apply to requests it receives through a route. The route applies to every hostname that resolves to this Frontend, including generated, custom-domain, and local hostnames. While the mounted Frontend has no active deployment, its paths answer 502, as its own hostname does.
Request
- Base URLhttps://api.volcano.dev
- Auth
- HTTP bearer
- or HTTP bearer
Path parameters
Project ID
Frontend ID
Request body
The Frontend to mount. It must be another Frontend in the Project.
Response
Frontend route created
A path prefix on this Frontend's hostnames served by another Frontend in the Project, the mounted Frontend. Paths are forwarded unchanged, so the mounted Frontend serves its prefix as real pages (page directories or a matching basePath).
The Frontend whose hostnames serve the route
The mounted Frontend
Changes
- info
endpoint added
- info