fix(spa manifest): Set correct mime type for endpoint

This commit is contained in:
Georg Krause 2022-10-14 06:18:47 +02:00 committed by Georg Krause
parent c619387ac8
commit c70549368d
1 changed files with 3 additions and 1 deletions

View File

@ -140,4 +140,6 @@ class SpaManifest(generics.GenericAPIView):
if instance_description:
parsed_manifest["description"] = instance_description
serializer = self.get_serializer(parsed_manifest)
return Response(serializer.data, status=200)
return Response(
serializer.data, status=200, content_type="application/manifest+json"
)