mirror of
https://github.com/Lumither/nocturne.git
synced 2026-10-17 10:26:21 +00:00
feat(global) better logging, add several fields for get_post api
- add sub_title, category, header_img to `get_post`
This commit is contained in:
7 files changed
+194
-75
No files matched your search
+2
-2
@@ -4,11 +4,11 @@ use std::num::ParseIntError;
|
||||
use std::process::exit;
|
||||
use std::str::FromStr;
|
||||
|
||||
use axum::Router;
|
||||
use axum::routing::{get, post};
|
||||
use axum::Router;
|
||||
use dotenv::dotenv;
|
||||
use sqlx::ConnectOptions;
|
||||
use sqlx::postgres::{PgConnectOptions, PgPoolOptions};
|
||||
use sqlx::ConnectOptions;
|
||||
use tracing::{error, warn};
|
||||
|
||||
use crate::api::get::get_post::get_post;
|
||||
|
||||
Reference in new issue
Block a user