add new site accepts duration

This commit is contained in:
realaravinth
2021-05-04 11:07:18 +05:30
parent e83a362e75
commit 1e1ec187dc
6 changed files with 38 additions and 7 deletions

View File

@@ -34,7 +34,7 @@ pub mod routes {
impl Docs {
pub const fn new() -> Self {
Docs {
home: "/docs",
home: "/docs/",
spec: "/docs/openapi.json",
assets: "/docs/{_:.*}",
}