Skip to content

Commit

Permalink
fix: set url to https when trying to warm endpoint cache
Browse files Browse the repository at this point in the history
  • Loading branch information
dsinghvi committed Oct 11, 2024
1 parent 56459ac commit 4561330
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ export function getDocsWriteV2Service(app: FdrApplication): DocsV2WriteService {
return Object.entries(apiDefinition.subpackages).flatMap(([id, subpackage]) => {
return subpackage.endpoints.map(async (endpoint) => {
return await fetch(
`${docsRegistrationInfo.fernUrl.getFullUrl()}/api/fern-docs/api-definition/${apiDefinition.id}/endpoint/${endpoint.id}`,
`https://${docsRegistrationInfo.fernUrl.getFullUrl()}/api/fern-docs/api-definition/${apiDefinition.id}/endpoint/${endpoint.id}`,
);
});
});
Expand Down

0 comments on commit 4561330

Please sign in to comment.