Ran cargo fmt
ci/woodpecker/push/lint Pipeline was successful Details
ci/woodpecker/push/deploy Pipeline was successful Details

pull/16/head
Jef Roosens 2022-05-01 12:00:48 +02:00
parent 9622196474
commit 95961f141d
Signed by: Jef Roosens
GPG Key ID: B75D4F293C7052DB
1 changed files with 4 additions and 1 deletions

View File

@ -51,7 +51,10 @@ async fn main() {
// 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)
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 {
let full_path = format!("{}/{}", static_dir, dir);