Skip to content

Commit

Permalink
Hit raw.githubusercontent.com to work around rate limiting
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolas-grekas committed Nov 23, 2021
1 parent 7b7c6ea commit e0bdb0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/GenerateFlexEndpointCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
'_links' => [
'repository' => sprintf('github.com/%s', $repository),
'origin_template' => sprintf('{package}:{version}@github.com/%s:%s', $repository, $sourceBranch),
'recipe_template' => sprintf('https://api.github.com/repos/%s/contents/{package_dotted}.{version}.json?ref=%s', $repository, $flexBranch),
'recipe_template' => sprintf('https://raw.githubusercontent.com/%s/%s/{package_dotted}.{version}.json', $repository, $flexBranch),
],
], JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES)."\n");

Expand Down

0 comments on commit e0bdb0a

Please sign in to comment.