Add cors header to status proxy response
All checks were successful
Build & Release / build-docker-image (push) Successful in 1m13s
Build & Release / deploy-to-production (push) Successful in 8s

This commit is contained in:
2026-06-04 11:50:39 +02:00
parent a0c5efe630
commit f06e782758

View File

@@ -33,7 +33,8 @@ async def get_statuses(account_id: str, request:Request, settings: Annotated[Set
forwarded_headers = {
'Content-type': 'application/json',
'User-Agent': 'Serverless Feed'
'User-Agent': 'Serverless Feed',
'Access-Control-Allow-Origin': 'https://john.ahlroos.me'
}
if 'link' in response.headers: