1
0
mirror of https://github.com/actix/actix-extras.git synced 2025-06-25 01:51:23 +02:00

consistent naming

This commit is contained in:
Nikolay Kim
2017-11-26 22:31:29 -08:00
parent 45433f71e5
commit 0519056199
10 changed files with 25 additions and 24 deletions

View File

@ -212,7 +212,7 @@ fn main() {
.resource("/", |r|
r.handler(Method::GET, |req| {
Ok(httpcodes::HTTPFound
.builder()
.build()
.header("LOCATION", "/static/websocket.html")
.body(Body::Empty)?)
}))