Skip to content

Commit

Permalink
πŸ› Fixed incorrect constant reference.
Browse files Browse the repository at this point in the history
  • Loading branch information
langyo committed Oct 11, 2024
1 parent d6aa4a1 commit 29f6978
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/server/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ use _database::{init, InitRouteEnvParams, RouteEnv};
async fn main() -> Result<()> {
#[cfg(not(debug_assertions))]
{
use _database::LOG_DIR;
use _types::consts::LOG_DIR;
use tracing_subscriber::fmt::writer::MakeWriterExt;

let file_appender = tracing_appender::rolling::daily((*LOG_DIR).clone(), "log");
Expand Down

0 comments on commit 29f6978

Please sign in to comment.