Skip to content

Commit e0bdb0a

Browse files
Hit raw.githubusercontent.com to work around rate limiting
1 parent 7b7c6ea commit e0bdb0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/GenerateFlexEndpointCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
9797
'_links' => [
9898
'repository' => sprintf('github.com/%s', $repository),
9999
'origin_template' => sprintf('{package}:{version}@github.com/%s:%s', $repository, $sourceBranch),
100-
'recipe_template' => sprintf('https://api.github.com/repos/%s/contents/{package_dotted}.{version}.json?ref=%s', $repository, $flexBranch),
100+
'recipe_template' => sprintf('https://raw.githubusercontent.com/%s/%s/{package_dotted}.{version}.json', $repository, $flexBranch),
101101
],
102102
], JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES)."\n");
103103

0 commit comments

Comments
 (0)