Skip to content

Commit

Permalink
Changed strings to URLs.
Browse files Browse the repository at this point in the history
  • Loading branch information
chadradams committed Sep 13, 2024
1 parent d65ff2c commit 0f571f2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/UI-UX/recommended-technologies.md
Original file line number Diff line number Diff line change
Expand Up @@ -304,14 +304,14 @@ When developing React applications, it's crucial to manage sensitive information
```plaintext
# .env.development
VITE_API_URL=https://dev.api.example.com
VITE_API_URL=[example value]
# .env.production
VITE_API_URL=https://api.example.com
VITE_API_URL=[example value]
```
- **Validate Environmental Variables**:
Consider using a validation library like [zod](https://github.com/colinhacks/zod) or [joi](https://joi.dev/) to validate your environmental variables at runtime, ensuring they meet the required format and constraints.
Consider using a validation library like `zod` (https://github.com/colinhacks/zod) or `joi` (https://joi.dev/) to validate your environmental variables at runtime, ensuring they meet the required format and constraints.
## Common Security Pitfalls in React Applications
Expand Down

0 comments on commit 0f571f2

Please sign in to comment.