Browse Source

add build-repo

pull/15/head
yedf2 5 years ago
parent
commit
a17ad4a242
  1. 2
      aux/build-repo.sh
  2. 1
      dtmsvr/api.go

2
aux/build-repo.sh

@ -0,0 +1,2 @@
sh -x
docker build -f aux/Dockerfile-release -t yedf/dtm:lastest .

1
dtmsvr/api.go

@ -12,7 +12,6 @@ import (
)
func addRoute(engine *gin.Engine) {
engine.GET("/api/ping", common.WrapHandler(func(c *gin.Context) (interface{}, error) { return "OK", nil }))
engine.POST("/api/dtmsvr/prepare", common.WrapHandler(prepare))
engine.POST("/api/dtmsvr/submit", common.WrapHandler(submit))
engine.POST("/api/dtmsvr/registerXaBranch", common.WrapHandler(registerXaBranch))

Loading…
Cancel
Save