mirror of
https://github.com/mCaptcha/mCaptcha.git
synced 2026-02-12 10:35:39 +00:00
Deploying to gh-pages from @ b3eda16f2c3be3a5d0c44cb6375f864e7d1a8a41 🚀
This commit is contained in:
@@ -181,6 +181,8 @@
|
||||
<a href="#181" id="181">181</a>
|
||||
<a href="#182" id="182">182</a>
|
||||
<a href="#183" id="183">183</a>
|
||||
<a href="#184" id="184">184</a>
|
||||
<a href="#185" id="185">185</a>
|
||||
</pre></div><pre class="rust"><code><span class="attr">#![allow(warnings)]
|
||||
</span><span class="comment">// Copyright (C) 2022 Aravinth Manivannan <realaravinth@batsense.net>
|
||||
// SPDX-FileCopyrightText: 2023 Aravinth Manivannan <realaravinth@batsense.net>
|
||||
@@ -276,7 +278,9 @@
|
||||
</span><span class="kw">async fn </span>main() -> std::io::Result<()> {
|
||||
<span class="kw">use </span>std::time::Duration;
|
||||
|
||||
env::set_var(<span class="string">"RUST_LOG"</span>, <span class="string">"info"</span>);
|
||||
<span class="kw">if </span>env::var(<span class="string">"RUST_LOG"</span>).is_err() {
|
||||
env::set_var(<span class="string">"RUST_LOG"</span>, <span class="string">"info"</span>);
|
||||
}
|
||||
|
||||
pretty_env_logger::init();
|
||||
<span class="macro">info!</span>(
|
||||
|
||||
Reference in New Issue
Block a user