Skip to content

Commit 4a68f34

Browse files
committed
Add comment to RedirectHandler
1 parent 730bc8f commit 4a68f34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/api.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ func checkProvider(provider string) bool {
134134
return false
135135
}
136136

137-
// RedirectHandler
137+
// RedirectHandler handles redirect for listen path prefix
138138
func RedirectHandler(w http.ResponseWriter, req *http.Request) {
139139
http.Redirect(w, req, options.listenPathPrefix, 301)
140140
}

0 commit comments

Comments
 (0)