summaryrefslogtreecommitdiff
path: root/src/ui/handlers/swatch.rs
blob: c904d2a45dbfefe91fc22a1db38b022fa1480649 (plain)
1
2
3
4
5
6
7
8
9
10
use axum_extra::TypedHeader;
use headers::IfNoneMatch;

use crate::{error::Internal, ui::assets::Response};

pub async fn handler(
    TypedHeader(if_none_match): TypedHeader<IfNoneMatch>,
) -> Result<Response, Internal> {
    Response::index(&if_none_match)
}