Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
ecdiy committed Oct 26, 2018
1 parent a6f9caf commit fe21c60
Show file tree
Hide file tree
Showing 5 changed files with 92 additions and 1,567 deletions.
14 changes: 0 additions & 14 deletions cmd/Eros.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,7 @@ var (
Apps = []string{"mo"}
)


func (app *Module) Eros(ele *utils.Element) {

utils.ParamInit(utils.EnvDev, `
Apps=D:\dev\mo\apps
Prefix=http://`+ utils.GetIp()+ `
`)

utils.ParamInit(utils.EnvProd, `
Apps=/love/mo/apps
Prefix=http://app.kushow.me
`)

AppsDir = utils.EnvParam("Apps")
Prefix = utils.EnvParam("Prefix")
seelog.Info("Apps", Apps)
Expand All @@ -39,8 +27,6 @@ Prefix=http://app.kushow.me
Web.GET("/app/check", appCheck)
Web.GET("/app/reload", appReload)
initApp()

Web.Run(":3001")
}

func initApp() string {
Expand Down
46 changes: 0 additions & 46 deletions cmd/fun_test.go

This file was deleted.

Loading

0 comments on commit fe21c60

Please sign in to comment.