Skip to content

Commit dcccb69

Browse files
authored
Update part2c.md
remove the single quotation marks when set REACT_APP_API_KEY so that users do not have to deal with them in App.js
1 parent a0e6201 commit dcccb69

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/content/2/en/part2c.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -645,9 +645,9 @@ If you use Open weather map, [here](https://openweathermap.org/weather-condition
645645
Assuming the api-key is <i>t0p53cr3t4p1k3yv4lu3</i>, when the application is started like so:
646646

647647
```bash
648-
REACT_APP_API_KEY='t0p53cr3t4p1k3yv4lu3' npm start // For Linux/macOS Bash
649-
($env:REACT_APP_API_KEY='t0p53cr3t4p1k3yv4lu3') -and (npm start) // For Windows PowerShell
650-
set REACT_APP_API_KEY='t0p53cr3t4p1k3yv4lu3' && npm start // For Windows cmd.exe
648+
REACT_APP_API_KEY=t0p53cr3t4p1k3yv4lu3 npm start // For Linux/macOS Bash
649+
($env:REACT_APP_API_KEY=t0p53cr3t4p1k3yv4lu3) -and (npm start) // For Windows PowerShell
650+
set REACT_APP_API_KEY=t0p53cr3t4p1k3yv4lu3 && npm start // For Windows cmd.exe
651651
```
652652

653653
you can access the value of the key from the _process.env_ object:

0 commit comments

Comments
 (0)