Skip to content

Commit

Permalink
add debug logs
Browse files Browse the repository at this point in the history
  • Loading branch information
paoloose committed Oct 7, 2024
1 parent 56b6eed commit 68e50a7
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/main.rs
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
#![allow(unreachable_patterns)]
use dotenvy::dotenv;
use lazy_static::lazy_static;
use rocket::{
config::Ident,
data::{Limits, ToByteUnit},
fs, Config,
};
use rocket::config::{Ident, LogLevel};
use rocket::data::{Limits, ToByteUnit};
use rocket::{fs, Config};
use serde_json::json;

#[macro_use]
Expand Down Expand Up @@ -55,6 +53,7 @@ async fn main() -> Result<(), rocket::Error> {
port: PORT,
address: [0, 0, 0, 0].into(),
ident: Ident::none(),
log_level: LogLevel::Normal,
limits: Limits::new()
.limit("forms", 16.mebibytes())
.limit("json", 32.mebibytes()),
Expand Down

0 comments on commit 68e50a7

Please sign in to comment.