mirror of
https://github.com/actix/actix-extras.git
synced 2024-11-23 15:51:06 +01:00
Run rustfmt
This commit is contained in:
parent
7f1680ebcf
commit
8176d5e121
@ -776,10 +776,8 @@ where
|
||||
if let Some(origin) =
|
||||
inner.access_control_allow_origin(res.request().head())
|
||||
{
|
||||
res.headers_mut().insert(
|
||||
header::ACCESS_CONTROL_ALLOW_ORIGIN,
|
||||
origin,
|
||||
);
|
||||
res.headers_mut()
|
||||
.insert(header::ACCESS_CONTROL_ALLOW_ORIGIN, origin);
|
||||
};
|
||||
|
||||
if let Some(ref expose) = inner.expose_hdrs {
|
||||
|
Loading…
Reference in New Issue
Block a user