chore (backend-rs): config::server::CONFIG -> config::CONFIG

This commit is contained in:
naskya 2024-04-22 00:36:06 +09:00
parent 574d3b3fe5
commit 3039458c4c
No known key found for this signature in database
GPG key ID: 712D413B3A9FED5C
5 changed files with 6 additions and 4 deletions

View file

@ -1,2 +1,4 @@
pub use server::CONFIG;
pub mod environment;
pub mod server;

View file

@ -1,4 +1,4 @@
use crate::config::server::CONFIG;
use crate::config::CONFIG;
use sea_orm::{Database, DbConn, DbErr};
static DB_CONN: once_cell::sync::OnceCell<DbConn> = once_cell::sync::OnceCell::new();

View file

@ -1,4 +1,4 @@
use crate::config::server::CONFIG;
use crate::config::CONFIG;
use redis::{Client, Connection, RedisError};
static REDIS_CLIENT: once_cell::sync::OnceCell<Client> = once_cell::sync::OnceCell::new();

View file

@ -1,4 +1,4 @@
use crate::config::server::CONFIG;
use crate::config::CONFIG;
#[derive(thiserror::Error, Debug)]
pub enum Error {

View file

@ -1,4 +1,4 @@
use crate::config::server::CONFIG;
use crate::config::CONFIG;
use crate::database::redis_conn;
use redis::{Commands, RedisError};