Commit e4632746ce7cbb98255c9dc0f5af997966def81c

Stephen Moloney 2016-05-01T21:06:52

add endpoint to cloudstorage

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
diff --git a/config/dev.exs b/config/dev.exs
index 7e96bf0..9b1b544 100644
--- a/config/dev.exs
+++ b/config/dev.exs
@@ -23,13 +23,14 @@ config :ex_ovh,
   swift: [
           webstorage: [ #  <-- :webstorage will be the config_id
                         cdn_name: System.get_env("EX_OVH_WEBSTORAGE_CDN_NAME"),
-                        type: :ovh_webstorage
+                        type: :webstorage
                       ],
           cloudstorage: [ #  <-- :cloudstorage will be the config_id
                           tenant_id: System.get_env("EX_OVH_CLOUDSTORAGE_TENANT_ID"), # mandatory, corresponds to a project id
                           user_id: System.get_env("EX_OVH_CLOUDSTORAGE_USER_ID"), # optional, if absent a user will be created using the ovh api.
+                          endpoint: "https://auth.cloud.ovh.net/v2.0",
                           region: :nil, # defaults to "SBG1" if set to :nil
-                          type: :ovh_cloudstorage
+                          type: :cloudstorage
                         ]
          ]