change routes
This commit is contained in:
parent
efa430a714
commit
f0f1543a03
|
|
@ -25,7 +25,8 @@ import Env from '@ioc:Adonis/Core/Env';
|
||||||
|
|
||||||
runtimeCheckLogs(Env.get("FOLDER_LOGS"))
|
runtimeCheckLogs(Env.get("FOLDER_LOGS"))
|
||||||
|
|
||||||
Route.get('/', async () => {
|
Route.get('/api/list', async () => {
|
||||||
// const a = await LogDetectFile.all()
|
const a = await LogDetectFile.all()
|
||||||
console.log("first")
|
// console.log("first")
|
||||||
|
return a
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue