Format code [skip ci]
This commit is contained in:
parent
175519f0cb
commit
35167f9d10
1 changed files with 2 additions and 2 deletions
|
@ -27,7 +27,7 @@ impl CaddyController {
|
|||
}));
|
||||
|
||||
for redirect in &config.redirects {
|
||||
let handler = match redirect.kind {
|
||||
let handler = match redirect.kind {
|
||||
SiteConfigRedirectKind::Temporary => json!({
|
||||
"handler": "static_response",
|
||||
"headers": {
|
||||
|
@ -45,7 +45,7 @@ impl CaddyController {
|
|||
SiteConfigRedirectKind::Rewrite => json!({
|
||||
"handler": "rewrite",
|
||||
"uri": redirect.to
|
||||
})
|
||||
}),
|
||||
};
|
||||
|
||||
routes_array.push(json!({
|
||||
|
|
Loading…
Add table
Reference in a new issue