This commit is contained in:
Chris Wanstrath 2025-12-14 15:56:09 -08:00
parent 1df3f0760e
commit 68406a0a80

View File

@ -139,7 +139,6 @@ export class Hype<
const pageName = (c.req.param('page') ?? 'index').replace('.', '')
if (pageName.startsWith('_')) return render404(c)
console.log(process.env.PWD)
const path = join(process.env.PWD ?? '.', `./src/pages/${pageName}.tsx`)
if (!(await Bun.file(path).exists()))