diff --git a/donation-api/src/donation_api/entrypoint.py b/donation-api/src/donation_api/entrypoint.py index 60b08cca..f00975c7 100644 --- a/donation-api/src/donation_api/entrypoint.py +++ b/donation-api/src/donation_api/entrypoint.py @@ -27,6 +27,7 @@ async def _(): if conf.merchantid_domain_association: @app.get("/.well-known/apple-developer-merchantid-domain-association") + @app.head("/.well-known/apple-developer-merchantid-domain-association") async def _(): """Used to validate domain ownership with apple/stripe""" return PlainTextResponse( @@ -36,6 +37,7 @@ async def _(): if conf.merchantid_domain_association_txt: @app.get("/.well-known/apple-developer-merchantid-domain-association.txt") + @app.head("/.well-known/apple-developer-merchantid-domain-association.txt") async def _(): """Used to validate domain ownership with apple""" return PlainTextResponse(