Skip to content

Commit

Permalink
update env_vars markdown formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
paoloose committed Nov 13, 2024
1 parent e142a8d commit bef2b17
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/env_vars.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ defined in the `src/env.rs` file, so you can use them in your code like this:

```rust
fn main() {
let port: u16 = *crate::env::PORT;
println!("Server running on port {}", port);
let port: u16 = *crate::env::PORT;
println!("Server running on port {}", port);
}
```

Expand Down Expand Up @@ -58,8 +58,8 @@ CLOUDINARY_API_SECRET="mJd3bbkWa5mPVKuNBgCLxjY5FSM"
```

<div class="warning">
The above examples does not contain any valid credentials and are just
examples of how a real .env file would look like in both cases.
The above files does not contain any valid credentials and just
demonstrate how a real .env file would look like in both cases.
</div>

## Uploading the production variables to GitHub
Expand Down

0 comments on commit bef2b17

Please sign in to comment.