whoops
This commit is contained in:
parent
1df3f0760e
commit
68406a0a80
|
|
@ -139,7 +139,6 @@ export class Hype<
|
||||||
const pageName = (c.req.param('page') ?? 'index').replace('.', '')
|
const pageName = (c.req.param('page') ?? 'index').replace('.', '')
|
||||||
if (pageName.startsWith('_')) return render404(c)
|
if (pageName.startsWith('_')) return render404(c)
|
||||||
|
|
||||||
console.log(process.env.PWD)
|
|
||||||
const path = join(process.env.PWD ?? '.', `./src/pages/${pageName}.tsx`)
|
const path = join(process.env.PWD ?? '.', `./src/pages/${pageName}.tsx`)
|
||||||
|
|
||||||
if (!(await Bun.file(path).exists()))
|
if (!(await Bun.file(path).exists()))
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user