Ran cargo fmt
parent
9622196474
commit
95961f141d
|
@ -51,7 +51,10 @@ async fn main() {
|
||||||
|
|
||||||
// Each static site gets mounted explicitely so that the default site can be used as fallback
|
// Each static site gets mounted explicitely so that the default site can be used as fallback
|
||||||
// Each entry is of the form (route, static dir name)
|
// Each entry is of the form (route, static dir name)
|
||||||
let sites = [("/docs/vieter", "docs-vieter"), ("/api-docs/vieter", "api-docs-vieter")];
|
let sites = [
|
||||||
|
("/docs/vieter", "docs-vieter"),
|
||||||
|
("/api-docs/vieter", "api-docs-vieter"),
|
||||||
|
];
|
||||||
|
|
||||||
for (path, dir) in sites {
|
for (path, dir) in sites {
|
||||||
let full_path = format!("{}/{}", static_dir, dir);
|
let full_path = format!("{}/{}", static_dir, dir);
|
||||||
|
|
Loading…
Reference in New Issue