We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 27be35c commit 7b88659Copy full SHA for 7b88659
pages/api/regenerate.ts
@@ -10,7 +10,8 @@ async function regenerate(req, res) {
10
).then((res) => res.json());
11
12
const webhookAWSAmplify = fetch(
13
- 'https://webhooks.amplify.eu-west-1.amazonaws.com/prod/webhooks?id=39136c3c-a922-4014-8f44-7ffc09af7da6&token=hCtGi1YQdYDPvBJPlSFU9O6s8XrMMo7hjuLJDdz5wn4'
+ 'https://webhooks.amplify.eu-west-1.amazonaws.com/prod/webhooks?id=39136c3c-a922-4014-8f44-7ffc09af7da6&token=hCtGi1YQdYDPvBJPlSFU9O6s8XrMMo7hjuLJDdz5wn4',
14
+ { method: 'POST' }
15
16
17
const response = await Promise.all([webhookVercel, webhookAWSAmplify]);
0 commit comments