You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<p>Here's a video tutorial on <atarget="_blank"href="https://www.awesomescreenshot.com/video/16498567?key=72dbf905fe4fa6d3224783d02a8b1b9c">how to update your backend URL environment variable.</a></p>
9
+
<p>There's a file called <Dark>.env</Dark> that contains the environmental variables for your project.</p>
10
+
<p>There's one variable called <Dark>BACKEND_URL</Dark> that needs to be manually set by yourself.</p>
11
+
<ol>
12
+
<li>Make sure you backend is running on port 3001.</li>
13
+
<li>Open your API and copy the API host.</li>
14
+
<li>Open the .env file (do not open the .env.example)</li>
15
+
<li>Add a new variable BACKEND_URL=<Dark>your api host</Dark></li>
16
+
<li>Replace <Dark>your api host</Dark> with the public API URL of your flask backend sever running at port 3001</li>
17
+
</ol>
18
+
<imgsrc={envFile}/>
19
+
<p>Note: If you are publishing your website to Heroku, Render.com or any other hosting you probably need to follow other steps.</p>
0 commit comments