We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d80140 commit 057e7b0Copy full SHA for 057e7b0
pages/sites/[slug]/[locale]/all.tsx
@@ -88,7 +88,7 @@ export default function Home({ pageProps }: Props) {
88
try {
89
const newTreesDonated = await getRequest<TreesDonated>(
90
pageProps.tenantConfig.id,
91
- 'https://automate.plant-for-the-planet.org/webhook/platform/total-tree-count'
+ `${process.env.WEBHOOK_URL}/platform/total-tree-count`
92
);
93
setTreesDonated(newTreesDonated);
94
} catch (err) {
0 commit comments