From 436511846130ae5d8a058e031d9c8ad0bcb002aa Mon Sep 17 00:00:00 2001 From: mrw1593 Date: Mon, 29 May 2023 15:56:27 -0400 Subject: Create stubbed endpoints for authorization --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main.rs') diff --git a/src/main.rs b/src/main.rs index aca5977..c288c7a 100644 --- a/src/main.rs +++ b/src/main.rs @@ -49,7 +49,6 @@ async fn main() -> Result<(), RawUnexpected> { .app_data(Data::new(tera.clone())) .app_data(Data::new(translations.clone())) // frontend services - // has to be first so they don't get overwritten by the "" scope .service(style::get_css) .service(scripts::get_js) .service(languages::languages()) @@ -57,6 +56,7 @@ async fn main() -> Result<(), RawUnexpected> { .service(api::liveops()) .service(api::users()) .service(api::clients()) + .service(api::oauth()) .service(api::ops()) }) .shutdown_timeout(1) -- cgit v1.2.3