change routes

This commit is contained in:
joseph le 2023-08-22 10:46:17 +07:00
parent efa430a714
commit f0f1543a03
1 changed files with 4 additions and 3 deletions

View File

@ -25,7 +25,8 @@ import Env from '@ioc:Adonis/Core/Env';
runtimeCheckLogs(Env.get("FOLDER_LOGS"))
Route.get('/', async () => {
// const a = await LogDetectFile.all()
console.log("first")
Route.get('/api/list', async () => {
const a = await LogDetectFile.all()
// console.log("first")
return a
})