mirror of
https://github.com/astaxie/beego.git
synced 2024-11-26 14:01:28 +00:00
fixup! fix typo, use camel notation for all keys
This commit is contained in:
parent
75d09d138a
commit
9cac7504c9
@ -104,7 +104,7 @@ func ParseConfig() (err error) {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
} else {
|
} else {
|
||||||
HttpAddr = AppConfig.String("httpaddr")
|
HttpAddr = AppConfig.String("HttpAddr")
|
||||||
|
|
||||||
if v, err := AppConfig.Int("HttpPort"); err == nil {
|
if v, err := AppConfig.Int("HttpPort"); err == nil {
|
||||||
HttpPort = v
|
HttpPort = v
|
||||||
|
Loading…
Reference in New Issue
Block a user