Compare commits

..

No commits in common. "987748159adb27a1833c369b25bc9f049be07b48" and "9ea6a9c56a4e68d9194a41aa9c57bd0192ab9b20" have entirely different histories.

2 changed files with 246 additions and 239 deletions

479
Cargo.lock generated

File diff suppressed because it is too large Load diff

View file

@ -538,10 +538,6 @@ pub struct Authorization {
#[async_std::main]
async fn main() -> Result<()> {
#[cfg(debug_assertions)]
log::with_level(log::LevelFilter::Debug);
#[cfg(not(debug_assertions))]
log::with_level(log::LevelFilter::Error);
let mut conf_file =
@ -577,7 +573,7 @@ async fn main() -> Result<()> {
app.at("/new-account").get(create_account_endpoint);
app.at("/metrics").get(metrics_endpoint);
auto_serve_dir!(app, "/static", "static");
auto_serve_dir!(app, "/static", "static", 51200);
println!("Server started at {}", &bind_address);