mirror of
https://github.com/ArthurDanjou/artdanj-api.git
synced 2026-01-14 20:19:26 +01:00
Add stats route
This commit is contained in:
11
app/Controllers/Http/StatsController.ts
Normal file
11
app/Controllers/Http/StatsController.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
import { HttpContextContract } from '@ioc:Adonis/Core/HttpContext'
|
||||
|
||||
export default class StatsController {
|
||||
|
||||
public async index ({ response }: HttpContextContract) {
|
||||
return response.status(200).send({
|
||||
message: 'Stats is under maintenance! Come back later.'
|
||||
})
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user