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:
@ -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)?)
|
||||
}))
|
||||
|
Reference in New Issue
Block a user