You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,6 +35,7 @@ The second argument of the `init` method is optional. It allows you to pass opti
35
35
*`base_domain`: The base domain to connect to Optimole's API. Default is `i.optimole.com`.
36
36
*`cache_buster`: A string value that will be appended to the URL of the optimized assets to bust Optimole's cache.
37
37
*`dashboard_api_url`: The URL of the dashboard API. Default is `https://dashboard.optimole.com/api`.
38
+
*`dashboard_api_key`: The API key to use for the dashboard API.
38
39
*`upload_api_credentials`: An array with the credentials to use for the upload API. The array should contain the keys `userKey` and `secret`. The default is empty and the SDK will use the API key provided in the `init` method to fetch them from the dashboard API.
39
40
*`upload_api_url`: The URL of the upload API. Default is `https://generateurls-prod.i.optimole.com/upload`.
0 commit comments