mirror of
https://github.com/YGGverse/rssto.git
synced 2026-03-31 09:05:29 +00:00
update config name
This commit is contained in:
parent
d176ee87ea
commit
621dad3810
2 changed files with 2 additions and 2 deletions
|
|
@ -44,7 +44,7 @@ pub struct Config {
|
|||
#[arg(long, default_value_t = 3306)]
|
||||
pub mysql_port: u16,
|
||||
|
||||
pub mysql_user: String,
|
||||
pub mysql_username: String,
|
||||
pub mysql_password: String,
|
||||
pub mysql_database: String,
|
||||
}
|
||||
|
|
|
|||
|
|
@ -158,7 +158,7 @@ fn rocket() -> _ {
|
|||
.manage(Mysql::connect(
|
||||
&config.mysql_host,
|
||||
config.mysql_port,
|
||||
&config.mysql_user,
|
||||
&config.mysql_username,
|
||||
&config.mysql_password,
|
||||
&config.mysql_database,
|
||||
))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue