diff options
author | Clombrong <cromblong@egregore.fun> | 2025-06-25 11:16:48 +0200 |
---|---|---|
committer | Clombrong <cromblong@egregore.fun> | 2025-06-25 11:16:48 +0200 |
commit | 31f96c0f04df6265bc26edaceaf7881451dc85bb (patch) | |
tree | 412713a618bbbf46b6dacbf8bde34eb28e4cdff1 | |
parent | b232ea90be69cfa1af58503405782786b8e45421 (diff) |
feat(native_hello): integrate env credentials
-rw-r--r-- | test/native/native_hello.ml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/native/native_hello.ml b/test/native/native_hello.ml index ea57e57..bb38ee6 100644 --- a/test/native/native_hello.ml +++ b/test/native/native_hello.ml @@ -1,2 +1,5 @@ let () = - print_endline "Hello, world!" + let jid = Sys.getenv "FLESH_JID" + and _password = Sys.getenv "FLESH_PASSWORD" + in let domain = (List.nth (String.split_on_char '@' jid) 1) + in print_endline domain |