change robots.txt to cache
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
use std::path::{PathBuf};
|
||||
use ini::Ini;
|
||||
use crate::config::types::{ApplicationConfig, BasicConfig};
|
||||
use crate::constants::{APP_CONFIG_DIR, APP_CONIFG_FILE_PATH};
|
||||
use crate::constants::{APP_CONFIG_DIR, APP_CONIFG_FILE_PATH, APP_DATA_DIR};
|
||||
|
||||
pub mod types;
|
||||
|
||||
@@ -21,7 +21,7 @@ impl ApplicationConfig {
|
||||
pub fn new() -> Self {
|
||||
let conf = Self {
|
||||
basic_config: BasicConfig {
|
||||
db_path: APP_CONFIG_DIR.clone().join("games.db").to_str().unwrap().to_string(),
|
||||
db_path: APP_DATA_DIR.clone().join("games.db").to_str().unwrap().to_string(),
|
||||
tick_rate: 250
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user