mirror of
https://github.com/kataras/iris.git
synced 2025-12-20 03:17:04 +00:00
This commit is contained in:
@@ -43,7 +43,7 @@ func createRoot(redirectTo string) *iris.Application {
|
||||
fullScheme = "https://"
|
||||
}
|
||||
|
||||
http.Redirect(w, r, fullScheme+redirectTo, iris.StatusMovedPermanently)
|
||||
http.Redirect(w, r, fullScheme+redirectTo+r.URL.RequestURI(), iris.StatusMovedPermanently)
|
||||
})
|
||||
|
||||
return app
|
||||
|
||||
Reference in New Issue
Block a user