Skip to content

Commit

Permalink
Merge pull request #1910 from Giveth/fix/sitemap_calling
Browse files Browse the repository at this point in the history
Fix/Sitemap env variables
  • Loading branch information
kkatusic authored Jan 20, 2025
2 parents e4f6b26 + ed56a80 commit a80ff7c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/services/cronJobs/generateSitemapOnFrontend.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ export const runGenerateSitemapOnFrontend = () => {
logger.debug('runGenerateSitemapOnFrontend() job has started');
try {
const response = await axios.get(
`{process.env.FRONTEND_URL}/api/generate-sitemap`,
`${process.env.FRONTEND_URL}/api/generate-sitemap`,
{
headers: {
Authorization: `Bearer {process.env.SITEMAP_CRON_SECRET}`,
Authorization: `Bearer ${process.env.SITEMAP_CRON_SECRET}`,
},
},
);
Expand Down

0 comments on commit a80ff7c

Please sign in to comment.