text: 'use strict'
  
  /** @type {import('@adonisjs/framework/src/Server')} */
  const Server = use('Server')
  
  const globalMiddleware = []
  
  /*
  |--------------------------------------------------------------------------
  | Named Middleware
  |--------------------------------------------------------------------------
  |
  | Named middleware is key/value object to conditionally add middleware on
  | specific routes or group of routes.
  |
  | // define
  | {
  |   auth: 'Adonis/Middleware/Auth'
  | }
  |
  | // use
  | Route.get().middleware('auth')
  |
  */
  const namedMiddleware = {}
  
  Server
    .registerGlobal(globalMiddleware)
    .registerNamed(namedMiddleware)
    .use(['Adonis/Middleware/Static'])
  