docs: def setup_admin_on_rest_handlers(admin, admin_handler):
      """
      Initialize routes.
      """
      add_route = admin.router.add_route
      add_static = admin.router.add_static
      static_folder = str(PROJ_ROOT / 'static')
      a = admin_handler
  
      add_route('GET', '', a.index_page, name='admin.index')
      add_route('POST', '/token', a.token, name='admin.token')
      add_static('/static', path=static_folder, name='admin.static')
      add_route('DELETE', '/logout', a.logout, name='admin.logout')