You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
383 B
11 lines
383 B
use axum::Router;
|
|
use tower_http::services::ServeFile;
|
|
use crate::app::routes::AppState;
|
|
|
|
pub fn routes() -> Router<AppState> {
|
|
Router::new()
|
|
.nest_service("/css/main.css", ServeFile::new("resources/main.css"))
|
|
.nest_service("/js/htmx.min.js", ServeFile::new("resources/htmx.min.js"))
|
|
.nest_service("/favicon.ico", ServeFile::new("static/favicon.ico"))
|
|
}
|