friendica-directory/src/middleware.php

10 lines
211 B
PHP
Raw Normal View History

2018-11-12 03:08:33 +01:00
<?php
// Application middleware
// e.g: $app->add(new \Slim\Csrf\Guard);
// configure middleware
$app->add(new \Gofabian\Negotiation\NegotiationMiddleware([
'accept' => ['text/html', 'application/json']
]));