Skip to content

Commit

Permalink
Fix/Sitemap env variables
Browse files Browse the repository at this point in the history
  • Loading branch information
kkatusic committed Jan 20, 2025
1 parent e4f6b26 commit ed56a80
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 ed56a80

Please sign in to comment.