You've already forked AstralRinth
forked from xxxOFFxxx/AstralRinth
* deleteed v3 exclusive routes * moved routes around * fixed linkage that movement broke * initial merge errors * fixes
22 lines
561 B
Rust
22 lines
561 B
Rust
mod admin;
|
|
pub mod flows;
|
|
pub mod pats;
|
|
pub mod session;
|
|
|
|
use super::v3::oauth_clients;
|
|
pub use super::ApiError;
|
|
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)
|
|
// TODO: write tests that catch these
|
|
.configure(oauth_clients::config)
|
|
.configure(session::config)
|
|
.configure(flows::config)
|
|
.configure(pats::config),
|
|
);
|
|
}
|