# mod.rs - source
Source of the Rust file `src/static_assets/mod.rs`.

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14

    // Copyright (C) 2022  Aravinth Manivannan <realaravinth@batsense.net>
    // SPDX-FileCopyrightText: 2023 Aravinth Manivannan <realaravinth@batsense.net>
    //
    // SPDX-License-Identifier: AGPL-3.0-or-later

    pub mod filemap;
    pub mod static_files;

    pub use filemap::FileMap;

    pub fn services(cfg: &mut actix_web::web::ServiceConfig) {
        cfg.service(static_files::static_files);
        cfg.service(static_files::favicons);
    }