Because you need to “forward” your environment variables in your .env file into your next.config.js file. If you don’t add it to the next.config.js, the value of apiUrl would be “undefined”. So do this:

Because you need to “forward” your environment variables in your .env file into your next.config.js file. If you don’t add it to the next.config.js, the value of apiUrl would be “undefined”. So do this:
In order to put Strapi behind a HTTPS, you need to take some steps. This is mostly for my notes but if you need more info, please email me. Why put Strapi behind HTTPS? If your frontend is behind a HTTPS, it will reject content from a HTTP link, which by default Strapi uses. That’s […]
I can build you a website that is fast, responsive and stylish. There’s just a few things I need in order to make this a painless, smooth process. From your end… The process is simple and painless. Here are some considerations: What do you want the website to do? Do you want the website to […]
Here’s how you can ban Facebook and Instagram from your computer on a Windows 10 PC. The code below also blocks Whatsapp. Blocking Facebook and Instagram requires you to modify the hosts file deep in your Windows folder. First, click on the Windows start menu button and search Notepad. Once you see it, right click […]
When the COVID-19 shutdowns started occurring, I predicted layoffs coming and if you want peace, prepare for war. That made me create helpwithcovid19.ca to organize all the benefits available for people affected by COVID-19. In late March, I remember both the federal and provincial governments in Canada announced new benefits almost daily. There wasn’t a […]
Beds are hard to get out of it when you’re settled in, but lights don’t turn themselves off. In the past, I could switch the lights off in my bed using poles to turn off the lights. But not after moving to my new apartment. There are commercial solutions to this issue. You can change […]
Does showering with the washroom door open increase room humidity? Does closing the blinds help significantly in retaining heat? I wanted to know how my actions affected my apartment’s temperature. But there was no commercial solution that I know of. Luckily, a Raspberry Pi, DHT22 temperature and humidity sensor and some programming knowledge helped. Written […]