refactor(core): remove console logs
This commit is contained in:
parent
aa10b6f3c5
commit
924d5c21a2
1 changed files with 0 additions and 9 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue