Static content serving from non-root routes

This commit is contained in:
Jai A
2020-06-02 20:59:20 -07:00
parent e03e58323b
commit a47634bf49
10 changed files with 102 additions and 76 deletions

View File

@@ -46,7 +46,7 @@ async fn main() -> std::io::Result<()> {
.service(routes::index_get)
.service(routes::search_post)
.service(routes::search_get)
.service(routes::mod_editor_get)
.service(routes::mod_page_get)
})
.bind("127.0.0.1:8000")?
.run()