Skip to content

Commit 7ce8979

Browse files
bgwdotdevlpil
authored andcommitted
test: fix missing test update 02
1 parent 425a08d commit 7ce8979

File tree

1 file changed

+3
-2
lines changed
  • examples/02-working-with-form-data/src

1 file changed

+3
-2
lines changed

examples/02-working-with-form-data/src/app.gleam

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
1+
import app/router
12
import gleam/erlang/process
23
import mist
34
import wisp
4-
import app/router
5+
import wisp/wisp_mist
56

67
pub fn main() {
78
wisp.configure_logger()
89
let secret_key_base = wisp.random_string(64)
910

1011
let assert Ok(_) =
11-
wisp.mist_handler(router.handle_request, secret_key_base)
12+
wisp_mist.handler(router.handle_request, secret_key_base)
1213
|> mist.new
1314
|> mist.port(8000)
1415
|> mist.start_http

0 commit comments

Comments
 (0)