rm runmode

This commit is contained in:
deepzz0
2016-10-02 19:53:21 +08:00
parent 13aefb3e21
commit c1f6611b5d
8 changed files with 27 additions and 33 deletions

2
api.go
View File

@@ -375,7 +375,7 @@ func apiTrashRecover(c *gin.Context) {
}
func responseNotice(c *gin.Context, typ, content, hl string) {
domain := runmode.Domain
domain := setting.Conf.Mode.Domain
if i := strings.Index(domain, ":"); i > -1 {
domain = domain[0:i]
}