You've already forked pages
forked from didirus/AstralRinth
* Update some Labrinth dependencies * Update some Labrinth dependencies * Update some Labrinth dependencies * Update zip in Labrinth * Update itertools in Labrinth * Update validator in labrinth * Update thiserror in labrinth * Update rust_decimal, redis, and deadpool-redis in labrinth * Update totp-rs and spdx in labrinth * Update maxminddb and tar in labrinth * Update sentry and sentry-actix in labrinth * Update image in labrinth * Update lettre in labrinth * Update derive-new and rust_iso3166 in labrinth * Update async-stripe and json-patch in labrinth * Update clap and iana-time-zone in labrinth * Update labrinth to Rust 2024 * Cargo fmt * Just do a full cargo update * Update daedelus to Rust 2024 * Update daedelus_client to Rust 2024 * Set the formatting edition to 2024 * Fix formatting IntelliJ messed up my formatting
30 lines
753 B
Rust
30 lines
753 B
Rust
pub(crate) mod admin;
|
|
pub mod billing;
|
|
pub mod flows;
|
|
pub mod gdpr;
|
|
pub mod moderation;
|
|
pub mod pats;
|
|
pub mod session;
|
|
|
|
pub mod statuses;
|
|
|
|
pub use super::ApiError;
|
|
use super::v3::oauth_clients;
|
|
use crate::util::cors::default_cors;
|
|
|
|
pub fn config(cfg: &mut actix_web::web::ServiceConfig) {
|
|
cfg.service(
|
|
actix_web::web::scope("_internal")
|
|
.wrap(default_cors())
|
|
.configure(admin::config)
|
|
.configure(oauth_clients::config)
|
|
.configure(session::config)
|
|
.configure(flows::config)
|
|
.configure(pats::config)
|
|
.configure(moderation::config)
|
|
.configure(billing::config)
|
|
.configure(gdpr::config)
|
|
.configure(statuses::config),
|
|
);
|
|
}
|