Skip to content

Commit b59126f

Browse files
committed
update README 0.9.0 release
1 parent 5eb624e commit b59126f

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

README.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,9 @@ A webserver [platform](https://github.com/roc-lang/roc/wiki/Roc-concepts-explain
1515
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.
1616

1717
```roc
18-
app [Model, server] {
19-
pf: platform "https://github.com/roc-lang/basic-webserver/releases/download/0.8.0/jz2EfGAtz_y06nN7f8tU9AvmzhKK-jnluXQQGa9rZoQ.tar.br"
20-
}
18+
app [Model, server] { pf: platform "REPLACE WITH LINK: SEE RELEASES 0.9.0>Assets" }
2119
2220
import pf.Stdout
23-
import pf.Task exposing [Task]
2421
import pf.Http exposing [Request, Response]
2522
import pf.Utc
2623
@@ -40,7 +37,7 @@ respond = \req, _ ->
4037
4138
Stdout.line! "$(datetime) $(Http.methodToStr req.method) $(req.url)"
4239
43-
Task.ok { status: 200, headers: [], body: Str.toUtf8 "<b>Hello, world!</b></br>" }
40+
Task.ok { status: 200, headers: [], body: Str.toUtf8 "<b>Hello from server</b></br>" }
4441
```
4542

4643

0 commit comments

Comments
 (0)