Utiliser api-bridge.clever-cloud.com pour l'authentification Bearer
This commit is contained in:
parent
1183f140a1
commit
106c04b91a
1 changed files with 1 additions and 1 deletions
|
|
@ -19,7 +19,7 @@ export const POST: APIRoute = async ({ request }) => {
|
||||||
}
|
}
|
||||||
|
|
||||||
const response = await fetch(
|
const response = await fetch(
|
||||||
`https://api.clever-cloud.com/v2/self/applications/${appId}/instances`,
|
`https://api-bridge.clever-cloud.com/v2/self/applications/${appId}/instances`,
|
||||||
{
|
{
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
headers: { Authorization: `Bearer ${token}` },
|
headers: { Authorization: `Bearer ${token}` },
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue