Skip to content

Commit 9a14d75

Browse files
author
Olivier BONNAURE
committed
doc
1 parent b6ca05c commit 9a14d75

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

app.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ require('dotenv').config();
22
var https = require('https');
33

44
var ovh = require('ovh')({
5-
endpoint: 'ovh-eu',
5+
endpoint: process.env.APP_ENDPOINT,
66
appKey: process.env.APP_KEY,
77
appSecret: process.env.APP_SECRET,
88
consumerKey: process.env.CONSUMER_KEY

readme.md

+10
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,21 @@ Go to [https://api.ovh.com/createToken/?GET=/me/*](https://api.ovh.com/createTok
1414
Then create a .env file in your folder
1515

1616
````
17+
APP_ENDPOINT = "<YOUR APP ENDPOINT>"
1718
APP_KEY = "<YOUR APP KEY>"
1819
APP_SECRET = "<YOUR SECRET>"
1920
CONSUMER_KEY= "<YOUR CONSUMER KEY>"
2021
````
2122

23+
### About endpoints
24+
25+
* OVH Europe: ovh-eu (default)
26+
* OVH North-America: ovh-ca
27+
* RunAbove: runabove-ca
28+
* SoYouStart Europe: soyoustart-eu
29+
* SoYouStart North-America: soyoustart-ca
30+
* Kimsufi Europe: kimsufi-eu
31+
* Kimsufi North-America: kimsufi-ca
2232

2333
## Usage
2434

0 commit comments

Comments
 (0)