mirror of
https://github.com/transatoshi-mw/grin-explorer.git
synced 2025-10-22 05:43:42 +00:00
move hardcoded dir path into config file
This commit is contained in:
@@ -138,6 +138,7 @@ pub struct ExplorerConfig {
|
||||
pub user: String,
|
||||
pub api_secret_path: String,
|
||||
pub foreign_api_secret_path: String,
|
||||
pub grin_dir: String,
|
||||
pub api_secret: String,
|
||||
pub foreign_api_secret: String,
|
||||
}
|
||||
@@ -151,6 +152,7 @@ impl ExplorerConfig {
|
||||
user: String::new(),
|
||||
api_secret_path: String::new(),
|
||||
foreign_api_secret_path: String::new(),
|
||||
grin_dir: String::new(),
|
||||
api_secret: String::new(),
|
||||
foreign_api_secret: String::new(),
|
||||
}
|
||||
|
Reference in New Issue
Block a user