fix: updates from error logs

This commit is contained in:
Mythie
2023-11-04 13:14:20 +11:00
parent 803ab7a7da
commit 4af3d05a24
5 changed files with 13 additions and 5 deletions

View File

@ -149,6 +149,10 @@ export async function GET(_request: Request, { params: { slug } }: SharePageOpen
weight: 600,
},
],
headers: {
'Access-Control-Allow-Origin': '*',
'Access-Control-Allow-Methods': 'GET, OPTIONS',
},
},
);
}