Skip to content

Commit

Permalink
0.10.0 readme changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Anton-4 committed Nov 28, 2024
1 parent a3551a4 commit d1de8c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
:book: docs: [main branch](https://roc-lang.github.io/basic-webserver/)

:eyes: examples: [0.8](https://github.com/roc-lang/basic-webserver/tree/0.8.0/examples), [0.9](https://github.com/roc-lang/basic-webserver/tree/0.9.0/examples)
:eyes: examples: [0.10](https://github.com/roc-lang/basic-webserver/tree/0.10.0/examples), [0.9](https://github.com/roc-lang/basic-webserver/tree/0.9.0/examples)

:warning: On linux `--linker=legacy` is necessary for this package because of [this Roc issue](https://github.com/roc-lang/roc/issues/3609).

Expand All @@ -15,7 +15,7 @@ A webserver [platform](https://github.com/roc-lang/roc/wiki/Roc-concepts-explain
Run this example server with `$ roc helloweb.roc` (on linux, add `--linker=legacy`) and go to `http://localhost:8000` in your browser. You can change the port (8000) and the host (localhost) by setting the environment variables ROC_BASIC_WEBSERVER_PORT and ROC_BASIC_WEBSERVER_HOST.

```roc
app [Model, server] { pf: platform "https://github.com/roc-lang/basic-webserver/releases/download/0.9.0/taU2jQuBf-wB8EJb0hAkrYLYOGacUU5Y9reiHG45IY4.tar.br" }
app [Model, server] { pf: platform "REPLACE WITH LINK: SEE RELEASES 0.10.0>Assets" }
import pf.Stdout
import pf.Http exposing [Request, Response]
Expand Down

0 comments on commit d1de8c3

Please sign in to comment.