mirror of
https://github.com/YGGverse/rssto.git
synced 2026-03-31 09:05:29 +00:00
fix mysql management entry
This commit is contained in:
parent
5f5c77f360
commit
a53417ce52
1 changed files with 10 additions and 7 deletions
|
|
@ -155,13 +155,16 @@ fn rocket() -> _ {
|
||||||
rocket::Config::release_default()
|
rocket::Config::release_default()
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.manage(Mysql::connect(
|
.manage(
|
||||||
&config.mysql_host,
|
Mysql::connect(
|
||||||
config.mysql_port,
|
&config.mysql_host,
|
||||||
&config.mysql_username,
|
config.mysql_port,
|
||||||
&config.mysql_password,
|
&config.mysql_username,
|
||||||
&config.mysql_database,
|
&config.mysql_password,
|
||||||
))
|
&config.mysql_database,
|
||||||
|
)
|
||||||
|
.unwrap(),
|
||||||
|
)
|
||||||
.manage(Global {
|
.manage(Global {
|
||||||
format_time: config.format_time,
|
format_time: config.format_time,
|
||||||
list_limit: config.list_limit,
|
list_limit: config.list_limit,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue