BibbityBop
KPCKevin Powell - Community
•Created by BibbityBop on 9/7/2023 in #front-end
Google reCAPTCHA v3 sitekey missing (only in production)
I'm trying to add reCAPTCHA v3 to my website, it is made with React.js and Vite, hosting with Netlify. I am storing the sitekey variable in a .env file using "VITE_" as the prefix, and calling it with "import.meta.env" instead of "process.env" (gives errors otherwise).
It works perfectly in localhost but for some reason in production I get the error: "Missing required parameters: sitekey", when console.logging the variable it comes out as undefined.
I also tried to add the variable through Netlify but it also comes out as undefined..
Can anyone help me? Thanks in advance!
1 replies
KPCKevin Powell - Community
•Created by BibbityBop on 7/20/2023 in #front-end
SASS stops working seemingly out of nowhere
Hello, I have had this problem multiple times in multiple projects where my SASS stops working seemingly out of nowhere. No changes appear on the website anymore, but changes in the css file do appear as they should. So somewhere the connection seems lost?
I haven't been able to find the right wording for my question so google hasn't been able to help..
Thanks in advance!
2 replies