Skip to content

Commit bffc931

Browse files
Merge pull request #2948 from actiontech/340
refactor: add TODO comments for HTTPS consideration
2 parents 5a1920f + 0345bde commit bffc931

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

sqle/api/controller/v1/task.go

+1
Original file line numberDiff line numberDiff line change
@@ -1226,6 +1226,7 @@ func DownloadAuditFile(c echo.Context) error {
12261226

12271227
}
12281228

1229+
// TODO 这里没有考虑到sqled开启https的情况
12291230
// TODO 和DMS一起抽离出一个工具函数
12301231
func ReverseToSqle(c echo.Context, rewriteUrlPath, targetHost string) (err error) {
12311232
// c.Request().URL.Path = rewriteUrlPath

sqle/dms/common.go

+1
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,7 @@ func GetProjects() ([]string, error) {
201201
return projectIds, nil
202202
}
203203

204+
// TODO 这里没有考虑到sqled开启https的情况
204205
func RegisterAsDMSTarget(sqleConfig *config.SqleOptions) error {
205206
controller.InitDMSServerAddress(sqleConfig.DMSServerAddress)
206207
InitDMSServerAddress(sqleConfig.DMSServerAddress)

0 commit comments

Comments
 (0)