Skip to content

Commit

Permalink
fix missing prefix for url
Browse files Browse the repository at this point in the history
  • Loading branch information
kkatusic committed Jan 20, 2025
1 parent ed56a80 commit b1104b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/cronJobs/generateSitemapOnFrontend.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export const runGenerateSitemapOnFrontend = () => {
logger.debug('runGenerateSitemapOnFrontend() job has started');
try {
const response = await axios.get(
`${process.env.FRONTEND_URL}/api/generate-sitemap`,
`https://${process.env.FRONTEND_URL}/api/generate-sitemap`,
{
headers: {
Authorization: `Bearer ${process.env.SITEMAP_CRON_SECRET}`,
Expand Down

0 comments on commit b1104b9

Please sign in to comment.