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