Browse Source

db url

master
mail_yanpeng@163.com 4 years ago
parent
commit
07464c6217
  1. 6
      conf/app.conf

6
conf/app.conf

@ -1,6 +1,6 @@
appname = beeblog appname = beeblog
runmode = prod runmode = dev
sessionon = true sessionon = true
sessiongcmaxlifetime = 36000 sessiongcmaxlifetime = 36000
@ -13,10 +13,10 @@ host = aiprose.com
httpport = 8082 httpport = 8082
uploadDir = "static/upload/" uploadDir = "static/upload/"
imgUrlPrefix = "http://localhost:8082/static/upload/" imgUrlPrefix = "http://localhost:8082/static/upload/"
dburl = "booszy@tcp(47.98.109.5:3306)" dburl = "trgis@tcp(47.98.109.5:3309)"
[prod] [prod]
httpport = 8082 httpport = 8082
uploadDir = "/root/oss/aiprose/" uploadDir = "/root/oss/aiprose/"
imgUrlPrefix = "https://oss.aiprose.com/aiprose/" imgUrlPrefix = "https://oss.aiprose.com/aiprose/"
dburl = "yasaka.00@tcp(localhost:3309)" dburl = "Yasaka.00@tcp(localhost:3308)"
Loading…
Cancel
Save