Skip to content

Commit

Permalink
remove db host & pwd
Browse files Browse the repository at this point in the history
  • Loading branch information
eavesmy authored and cg33 committed Feb 14, 2022
1 parent dd023e8 commit 0edd15b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/gear/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ func main() {
Env: config.EnvLocal,
Databases: config.DatabaseList{
"default": {
Host: "10.40.126.223",
Host: "127.0.0.1",
Port: "5432",
User: "postgres",
Pwd: "23216340pgsqlDL",
Pwd: "admin",
Name: "admin",
MaxIdleCon: 50,
MaxOpenCon: 150,
Expand Down Expand Up @@ -100,7 +100,7 @@ func main() {
e.HTML("GET", "/admin", datamodel.GetContent)

go func() {
app.Start(":20000")
app.Start(":8099")
}()

quit := make(chan os.Signal, 1)
Expand Down

0 comments on commit 0edd15b

Please sign in to comment.