diff --git a/classes/Controller/FrontController.php b/classes/Controller/FrontController.php index f46e326..912fc8d 100644 --- a/classes/Controller/FrontController.php +++ b/classes/Controller/FrontController.php @@ -6,11 +6,11 @@ namespace Alltube\Controller; -use Alltube\CspMiddleware; use Alltube\Library\Exception\PasswordException; use Alltube\Library\Exception\AlltubeLibraryException; use Alltube\Library\Exception\WrongPasswordException; use Alltube\Locale; +use Alltube\Middleware\CspMiddleware; use Exception; use Slim\Http\StatusCode; use Symfony\Component\ErrorHandler\ErrorRenderer\HtmlErrorRenderer; diff --git a/classes/CspMiddleware.php b/classes/Middleware/CspMiddleware.php similarity index 97% rename from classes/CspMiddleware.php rename to classes/Middleware/CspMiddleware.php index fde3377..d5f24f0 100644 --- a/classes/CspMiddleware.php +++ b/classes/Middleware/CspMiddleware.php @@ -1,7 +1,8 @@