You've already forked AstralRinth
forked from didirus/AstralRinth
Maven endpoint support (#180)
* Basic maven endpoint * Clean up maven endpoint * cargo sqlx prepare * Minor cleanup * Remove indentation * Borrow &str instead of &String * Refactor mod_data-getting
This commit is contained in:
committed by
GitHub
parent
b98ad47618
commit
15c56dfcb8
@@ -310,6 +310,7 @@ async fn main() -> std::io::Result<()> {
|
||||
.configure(routes::reports_config)
|
||||
.configure(routes::notifications_config),
|
||||
)
|
||||
.service(web::scope("/maven/").configure(routes::maven_config))
|
||||
.default_service(web::get().to(routes::not_found))
|
||||
})
|
||||
.bind(dotenv::var("BIND_ADDR").unwrap())?
|
||||
|
||||
Reference in New Issue
Block a user