refactor(core): remove console logs

This commit is contained in:
Ayo Ayco 2025-04-04 22:49:36 +02:00
parent aa10b6f3c5
commit 924d5c21a2

View file

@ -37,8 +37,6 @@ export default eventHandler(async (event) => {
const __dirname = dirname(__filename)
let relativePath = relative(__dirname, appConfigFile)
console.log('>>> relative', relativePath)
let config
// TODO: this still doesn't work on Netlify
try {
@ -48,13 +46,6 @@ export default eventHandler(async (event) => {
consola.error(err)
}
console.log('>>> ', {
config,
appConfigFile,
relativePath,
__dirname,
})
// if not page, don't render
if (event.path.startsWith('/api')) {
return