1
0
mirror of https://github.com/kataras/iris.git synced 2026-01-08 20:41:57 +00:00

no need to duplicate ourselves

This commit is contained in:
Gerasimos Maropoulos
2016-07-26 21:53:52 +03:00
parent 81019aa90d
commit 5f76942b52

View File

@@ -798,7 +798,7 @@ func (s *Framework) URL(routeName string, args ...interface{}) (url string) {
return
}
srv := s.Servers.Main()
scheme := s.Servers.Main().Scheme()
scheme := srv.Scheme()
host := srv.Host()
arguments := args[0:]