SawyerHood / draw-a-ui

Draw a mockup and generate html for it
https://draw-a-ui.com
MIT License
13.24k stars 1.59k forks source link

.env not working? Undefined openai key and base? #60

Open yhyu13 opened 10 months ago

yhyu13 commented 10 months ago

HI

I am having a issue where variable defined in .env or .env.local are not getting processed.

I am on this commit https://github.com/SawyerHood/draw-a-ui/commit/36384b82f7bad0aaa003877fa28571cabfeef6bb (the latest commit by 2023/11/19)

Here is my setup

Code_UG9jZN5JyH

Code_qJS1Y17sJX

Code_Qsvhd21JiQ

The console print show that these env are not defined at all

darkanubis0100 commented 10 months ago

On my almost not even read the API key, it always tells me that one has not been specified.