diff --git a/aux/build-repo.sh b/aux/build-repo.sh new file mode 100755 index 0000000..56b5e08 --- /dev/null +++ b/aux/build-repo.sh @@ -0,0 +1,2 @@ +sh -x +docker build -f aux/Dockerfile-release -t yedf/dtm:lastest . \ No newline at end of file diff --git a/dtmsvr/api.go b/dtmsvr/api.go index d49819f..11d06ca 100644 --- a/dtmsvr/api.go +++ b/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))