[go: nahoru, domu]

Skip to content

Commit

Permalink
Updating to v2
Browse files Browse the repository at this point in the history
Signed-off-by: Mikkel Mørk Hegnhøj <mikkel@fermyon.com>
  • Loading branch information
mikkelhegn committed Nov 1, 2023
1 parent dbc1417 commit 2cde1ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions content/spin/v2/spin-application-structure.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ As an additional example of adding more components, let's add a new static file
<!-- @selectiveCpy -->

```console
$ spin add static-fileserver
$ spin add -t static-fileserver
Enter a name for your new component: assets
HTTP path: /static/...
Directory containing the files to serve: assets
Expand All @@ -120,7 +120,7 @@ Why stop there? We can add even more functionality to our application. Let's now
<!-- @selectiveCpy -->

```console
$ spin add redirect
$ spin add -t redirect
Enter a name for your new component: additional-component-redirect
Redirect from: /static/old.txt
Redirect to: /static/new.txt
Expand Down

0 comments on commit 2cde1ff

Please sign in to comment.