aboutsummaryrefslogtreecommitdiffstats
path: root/rust/src/bin
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-12-31 17:40:51 -0800
committerBryan Newbold <bnewbold@robocracy.org>2018-12-31 17:40:51 -0800
commitb930bf22d4974363934514919539149a69b15167 (patch)
treea8ff4edf1e0e7a8d680bd82f4416c9fda8282440 /rust/src/bin
parente661263baab5ff791986aaa6cc5d4996b149d4ce (diff)
downloadfatcat-b930bf22d4974363934514919539149a69b15167.tar.gz
fatcat-b930bf22d4974363934514919539149a69b15167.zip
allow multiple 'alt' keys to be specified in env
Diffstat (limited to 'rust/src/bin')
-rw-r--r--rust/src/bin/fatcatd.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/rust/src/bin/fatcatd.rs b/rust/src/bin/fatcatd.rs
index a4f20ddb..04f88948 100644
--- a/rust/src/bin/fatcatd.rs
+++ b/rust/src/bin/fatcatd.rs
@@ -39,6 +39,14 @@ fn main() {
let formatter = DefaultLogFormatter;
let server = fatcat::server().unwrap();
+ info!(
+ logger,
+ "using primary auth key: {}", server.auth_confectionary.identifier,
+ );
+ info!(
+ logger,
+ "all auth keys: {:?}", server.auth_confectionary.root_keys.keys().collect::<Vec<&String>>(),
+ );
let mut router = fatcat_api_spec::router(server);
router.get("/", root_handler, "root-redirect");