about summary refs log tree commit diff stats
path: root/crates/rocie-server/src/api/get/no_auth/mod.rs
blob: 891c780040dbaa68e5105a2ddcd7f31c796f97ec (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// rocie - An enterprise grocery management system
//
// Copyright (C) 2026 Benedikt Peetz <benedikt.peetz@b-peetz.de>
// SPDX-License-Identifier: GPL-3.0-or-later
//
// This file is part of Rocie.
//
// You should have received a copy of the License along with this program.
// If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>.

use actix_web::web;

pub(crate) mod state;

pub(crate) fn register_paths(cfg: &mut web::ServiceConfig) {
    cfg.service(state::is_logged_in)
        .service(state::can_be_provisioned);
}