mirror of
https://github.com/mCaptcha/mCaptcha.git
synced 2026-02-12 18:45:41 +00:00
Deploying to gh-pages from @ 8ec5122f87 🚀
This commit is contained in:
@@ -181,8 +181,6 @@
|
||||
<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>
|
||||
@@ -215,7 +213,6 @@
|
||||
<span class="kw">mod </span>settings;
|
||||
<span class="kw">mod </span>static_assets;
|
||||
<span class="kw">mod </span>stats;
|
||||
<span class="kw">mod </span>survey;
|
||||
<span class="attr">#[cfg(test)]
|
||||
#[macro_use]
|
||||
</span><span class="kw">mod </span>tests;
|
||||
@@ -288,8 +285,7 @@
|
||||
);
|
||||
|
||||
<span class="kw">let </span>settings = Settings::new().unwrap();
|
||||
<span class="kw">let </span>secrets = survey::SecretsStore::default();
|
||||
<span class="kw">let </span>data = Data::new(<span class="kw-2">&</span>settings, secrets).<span class="kw">await</span>;
|
||||
<span class="kw">let </span>data = Data::new(<span class="kw-2">&</span>settings).<span class="kw">await</span>;
|
||||
<span class="kw">let </span>data = actix_web::web::Data::new(data);
|
||||
|
||||
<span class="kw">let </span><span class="kw-2">mut </span>demo_user: <span class="prelude-ty">Option</span><DemoUser> = <span class="prelude-val">None</span>;
|
||||
|
||||
Reference in New Issue
Block a user