workerd 0.1.5

personal assistant running on local machine
1
2
3
4
5
6
7
8
9
10
11
12
use axum::response::{Html, IntoResponse};

/// index page
///
pub async fn page_index() -> impl IntoResponse {
    #[cfg(windows)]
    let html = include_str!("resources\\index.html");
    #[cfg(unix)]
    let html = include_str!("resources/index.html");

    Html(html)
}