fix service subdomains env var not working

This commit is contained in:
Devin Zuczek
2026-08-01 17:15:11 -04:00
parent 3030b480c8
commit cf05026285
6 changed files with 81 additions and 11 deletions
+1 -1
View File
@@ -29,6 +29,6 @@ const app = new Hono<App>()
.notFound(withNotFound())
// Endpoints document, derived from the deploy-time base domain.
.get('/', (c) => c.json(buildEndpoints(c.env.DOMAIN)))
.get('/', (c) => c.json(buildEndpoints(c.env.DOMAIN, c.env.SUBDOMAINS)))
export default app