UoaWDCC / youth-of-orakei

12 stars 0 forks source link

added fallbackstring in case the web form token doesn't exist #64

Closed AntGa closed 2 months ago

AntGa commented 2 months ago

In staging, there is no .env file so the token cannot be loaded, the page wasn't loading before as it was looking for the webforms token in the env file. Since the env variables don't exist yet in staging I added a temporary fallback-string in the case where the form token doesn't exist.