mirror of https://github.com/rwf2/Rocket.git
Update console output in guide.
This commit is contained in:
parent
86a6b4b12f
commit
bb295ae21b
|
@ -69,18 +69,20 @@ of the guide. In short, it creates an `index` route, _mounts_ the route at the
|
||||||
run`. You should see the following:
|
run`. You should see the following:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
🔧 Configured for development.
|
> cargo run
|
||||||
=> address: localhost
|
🔧 Configured for debug.
|
||||||
|
=> address: 127.0.0.1
|
||||||
=> port: 8000
|
=> port: 8000
|
||||||
=> log: normal
|
=> workers: 64
|
||||||
=> workers: [logical cores * 2]
|
=> log level: normal
|
||||||
=> secret key: generated
|
=> secret key: [zero]
|
||||||
=> limits: forms = 32KiB
|
=> limits: forms = 32KiB
|
||||||
|
=> cli colors: true
|
||||||
=> keep-alive: 5s
|
=> keep-alive: 5s
|
||||||
=> tls: disabled
|
=> tls: disabled
|
||||||
🛰 Mounting '/':
|
🛰 Mounting /:
|
||||||
=> GET / (index)
|
=> GET / (index)
|
||||||
🚀 Rocket has launched from http://localhost:8000
|
🚀 Rocket has launched from http://127.0.0.1:8000
|
||||||
```
|
```
|
||||||
|
|
||||||
Visit `http://localhost:8000` to see your first Rocket application in action!
|
Visit `http://localhost:8000` to see your first Rocket application in action!
|
||||||
|
|
|
@ -175,8 +175,8 @@ Running the application, the console shows:
|
||||||
=> cli colors: true
|
=> cli colors: true
|
||||||
=> keep-alive: 5s
|
=> keep-alive: 5s
|
||||||
=> tls: disabled
|
=> tls: disabled
|
||||||
🛰 Mounting /:
|
🛰 Mounting /hello:
|
||||||
=> GET / (hello)
|
=> GET /hello/world (world)
|
||||||
🚀 Rocket has launched from http://127.0.0.1:8000
|
🚀 Rocket has launched from http://127.0.0.1:8000
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue