Skip to content

Commit

Permalink
Fix example links in README
Browse files Browse the repository at this point in the history
  • Loading branch information
hellosmithy committed Mar 12, 2024
1 parent 8c95a65 commit 6457aef
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion examples/01-routing/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ request path and method.
This example is based off of the ["Hello, World!" example][hello], so read that
one first. The additions are detailed here and commented in the code.

[hello]: https://github.com/lpil/wisp/tree/main/examples/0-hello-world
[hello]: https://github.com/lpil/wisp/tree/main/examples/00-hello-world

### `app/router` module

Expand Down
4 changes: 2 additions & 2 deletions examples/02-working-with-form-data/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ This example is based off of the ["Hello, World!" example][hello], and uses
concepts from the [routing example][routing] so read those first. The additions
are detailed here and commented in the code.

[hello]: https://github.com/lpil/wisp/tree/main/examples/0-hello-world
[routing]: https://github.com/lpil/wisp/tree/main/examples/1-routing
[hello]: https://github.com/lpil/wisp/tree/main/examples/00-hello-world
[routing]: https://github.com/lpil/wisp/tree/main/examples/01-routing

### `app/router` module

Expand Down
4 changes: 2 additions & 2 deletions examples/03-working-with-json/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ This example is based off of the ["Hello, World!" example][hello], and uses
concepts from the [routing example][routing] so read those first. The additions
are detailed here and commented in the code.

[hello]: https://github.com/lpil/wisp/tree/main/examples/0-hello-world
[routing]: https://github.com/lpil/wisp/tree/main/examples/1-routing
[hello]: https://github.com/lpil/wisp/tree/main/examples/00-hello-world
[routing]: https://github.com/lpil/wisp/tree/main/examples/01-routing

### `gleam.toml` file

Expand Down
4 changes: 2 additions & 2 deletions examples/04-working-with-other-formats/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ This example is based off of the ["Hello, World!" example][hello], and uses
concepts from the [routing example][routing] so read those first. The additions
are detailed here and commented in the code.

[hello]: https://github.com/lpil/wisp/tree/main/examples/0-hello-world
[routing]: https://github.com/lpil/wisp/tree/main/examples/1-routing
[hello]: https://github.com/lpil/wisp/tree/main/examples/00-hello-world
[routing]: https://github.com/lpil/wisp/tree/main/examples/01-routing

### `gleam.toml` file

Expand Down
2 changes: 1 addition & 1 deletion examples/05-using-a-database/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ database connection.
This example is based off of the ["working with JSON" example][json], so read
that first. The additions are detailed here and commented in the code.

[json]: https://github.com/lpil/wisp/tree/main/examples/3-working-with-json
[json]: https://github.com/lpil/wisp/tree/main/examples/03-working-with-json

### `gleam.toml` file

Expand Down
2 changes: 1 addition & 1 deletion examples/06-serving-static-assets/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ request path and method.
This example is based off of the ["Hello, World!" example][hello], so read that
one first. The additions are detailed here and commented in the code.

[hello]: https://github.com/lpil/wisp/tree/main/examples/1-routing
[hello]: https://github.com/lpil/wisp/tree/main/examples/01-routing

### `priv/static` directory

Expand Down
2 changes: 1 addition & 1 deletion examples/07-logging/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ request path and method.
This example is based off of the ["routing" example][routing], so read that
one first. The additions are detailed here and commented in the code.

[routing]: https://github.com/lpil/wisp/tree/main/examples/1-routing
[routing]: https://github.com/lpil/wisp/tree/main/examples/01-routing

### `app/router` module

Expand Down
2 changes: 1 addition & 1 deletion examples/08-working-with-cookies/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ someone gains access to the secret key they will be able to forge cookies. This
example application generates a random string in `app.gleam`, but in a real
application you will need to read this secret value from somewhere secure.

[routing]: https://github.com/lpil/wisp/tree/main/examples/2-working-with-form-data
[routing]: https://github.com/lpil/wisp/tree/main/examples/02-working-with-form-data

### `app/router` module

Expand Down
2 changes: 1 addition & 1 deletion examples/09-configuring-default-responses/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ You likely want your application to return a generic error page rather than an e
This example is based off of the [routing example][routing] so read that first.
The additions are detailed here and commented in the code.

[routing]: https://github.com/lpil/wisp/tree/main/examples/1-routing
[routing]: https://github.com/lpil/wisp/tree/main/examples/01-routing

### `app/router` module

Expand Down

0 comments on commit 6457aef

Please sign in to comment.