Skip to content

Commit 857968c

Browse files
committed
Testing
1 parent 2dde697 commit 857968c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/apify-client.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ function addUserAgent(config: AxiosRequestConfig): AxiosRequestConfig {
1717
}
1818

1919
export function getApifyAPIBaseUrl(): string {
20+
return process.env.APIFY_API_BASE_URL;
2021
// Workaround for Actor server where the platform APIFY_API_BASE_URL did not work with getActorDefinition from actors.ts
2122
if (process.env.APIFY_IS_AT_HOME) return 'https://api.apify.com';
2223
return process.env.APIFY_API_BASE_URL || 'https://api.apify.com';

src/tools/build.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export async function getActorDefinition(
3131
apifyToken: string,
3232
limit: number = ACTOR_README_MAX_LENGTH,
3333
): Promise<ActorDefinitionPruned | null> {
34-
const client = new ApifyClient({ token: apifyToken });
34+
const client = new ApifyClient({ token: apifyToken });
3535
const actorClient = client.actor(actorIdOrName);
3636
try {
3737
// Fetch actor details

0 commit comments

Comments
 (0)