mirror of
https://github.com/sergi0g/cup.git
synced 2025-11-17 09:33:38 -05:00
Update frontend
This commit is contained in:
@@ -38,7 +38,7 @@ pub async fn serve(port: &u16, config: &Config) -> std::io::Result<()> {
|
||||
.at("/", get(handler_service(_static)))
|
||||
.at("/api/v1/simple", get(handler_service(api_simple)))
|
||||
.at("/api/v1/full", get(handler_service(api_full)))
|
||||
.at("/refresh", get(handler_service(refresh)))
|
||||
.at("/api/v1/refresh", get(handler_service(refresh)))
|
||||
.at("/*", get(handler_service(_static)))
|
||||
.enclosed(Logger::new())
|
||||
.serve()
|
||||
|
||||
Reference in New Issue
Block a user