Added api-docs-vieter site
ci/woodpecker/push/lint Pipeline was successful Details
ci/woodpecker/push/deploy Pipeline was successful Details

pull/14/head
Jef Roosens 2022-04-29 10:21:48 +02:00
parent 5fa7119b9a
commit 0f06a5e017
Signed by: Jef Roosens
GPG Key ID: B580B976584B5F30
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ 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", "docs")]; let sites = [("/docs", "docs"), ("/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);