diff --git a/src/Controller/StaticController.php b/src/Controller/StaticController.php index b838648..8bd4ce8 100644 --- a/src/Controller/StaticController.php +++ b/src/Controller/StaticController.php @@ -33,4 +33,10 @@ class StaticController extends AbstractController { return $this->render('static/tos.html.twig'); } + + #[Route('/manifest.webmanifest', name: 'pwa_manifest')] + public function manifest(): Response + { + return $this->render('static/manifest.webmanifest.twig', [], new Response('', 200, ['Content-Type' => 'application/manifest+json'])); + } }