We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d12840e commit 7d92c04Copy full SHA for 7d92c04
src/lib/contentstack.ts
@@ -39,11 +39,15 @@ export function stack(config: StackConfig): StackClass {
39
params: {} as any,
40
live_preview: {} as any,
41
port: config.port as number,
42
+ ...config
43
};
44
45
defaultConfig.defaultHostname = config.host || Utility.getHost(config.region, config.host);
46
config.host = defaultConfig.defaultHostname;
47
48
+ // if (typeof config.timeout !== 'undefined') {
49
+ // defaultConfig.timeout = config.timeout;
50
+ // }
51
if (config.apiKey) {
52
defaultConfig.headers.api_key = config.apiKey;
53
} else {
0 commit comments