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 857968c commit a24e304Copy full SHA for a24e304
src/apify-client.ts
@@ -17,7 +17,7 @@ function addUserAgent(config: AxiosRequestConfig): AxiosRequestConfig {
17
}
18
19
export function getApifyAPIBaseUrl(): string {
20
- return process.env.APIFY_API_BASE_URL;
+ return process.env.APIFY_API_BASE_URL as string;
21
// Workaround for Actor server where the platform APIFY_API_BASE_URL did not work with getActorDefinition from actors.ts
22
if (process.env.APIFY_IS_AT_HOME) return 'https://api.apify.com';
23
return process.env.APIFY_API_BASE_URL || 'https://api.apify.com';
0 commit comments