From 5374f32a676b4d606dc47a81ac9114460756d5b8 Mon Sep 17 00:00:00 2001 From: Romain Beuque Date: Fri, 9 Nov 2018 16:26:31 +0100 Subject: [PATCH] ovh-us: changing OVH US endpoint Signed-off-by: Romain Beuque --- README.md | 8 ++++---- src/Api.php | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 717d5eb..f80b32b 100644 --- a/README.md +++ b/README.md @@ -252,10 +252,10 @@ Supported APIs ## OVH US * ```$endpoint = 'ovh-us';``` - * Documentation: https://api.ovhcloud.com/ - * Console: https://api.ovhcloud.com/console - * Create application credentials: https://api.ovhcloud.com/createApp/ - * Create script credentials (all keys at once): https://api.ovhcloud.com/createToken/ + * Documentation: https://api.us.ovhcloud.com/ + * Console: https://api.us.ovhcloud.com/console + * Create application credentials: https://api.us.ovhcloud.com/createApp/ + * Create script credentials (all keys at once): https://api.us.ovhcloud.com/createToken/ ## OVH North America diff --git a/src/Api.php b/src/Api.php index 2be1b38..4da9d91 100644 --- a/src/Api.php +++ b/src/Api.php @@ -55,7 +55,7 @@ class Api private $endpoints = [ 'ovh-eu' => 'https://eu.api.ovh.com/1.0', 'ovh-ca' => 'https://ca.api.ovh.com/1.0', - 'ovh-us' => 'https://api.ovhcloud.com/1.0', + 'ovh-us' => 'https://api.us.ovhcloud.com/1.0', 'kimsufi-eu' => 'https://eu.api.kimsufi.com/1.0', 'kimsufi-ca' => 'https://ca.api.kimsufi.com/1.0', 'soyoustart-eu' => 'https://eu.api.soyoustart.com/1.0',