summaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authormrw1593 <botahamec@outlook.com>2023-05-29 15:56:27 -0400
committermrw1593 <botahamec@outlook.com>2023-05-29 15:56:27 -0400
commit436511846130ae5d8a058e031d9c8ad0bcb002aa (patch)
tree1ae1e35390e7555f45c2db8a011cfde38295d71f /src/main.rs
parenta84c964b725ad2012cdf6a605ff264c60e0b0e59 (diff)
Create stubbed endpoints for authorization
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs2
1 files changed, 1 insertions, 1 deletions
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)