summaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authormrw1593 <botahamec@outlook.com>2023-05-13 12:22:11 -0400
committermrw1593 <botahamec@outlook.com>2023-05-29 10:45:54 -0400
commit0b55587443103b20491139d54670474a35286be8 (patch)
tree7aed93ba53a71ce245208afb6593e7726e8b0026 /src/main.rs
parentefe24b616f91121512cb6b2c61cd9b850f943e2d (diff)
Add a login endpoint that does nothing
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs
index 7cc694d..dff3f3f 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -16,6 +16,7 @@ async fn main() -> Result<(), RawUnexpected> {
.app_data(Data::new(sql_pool.clone()))
.service(api::liveops())
.service(api::users())
+ .service(api::ops())
})
.shutdown_timeout(1)
.bind(("127.0.0.1", 8080))?