mirror of
https://github.com/kataras/iris.git
synced 2025-03-14 08:16:28 +01:00
no need to duplicate ourselves
This commit is contained in:
parent
81019aa90d
commit
5f76942b52
2
iris.go
2
iris.go
|
@ -798,7 +798,7 @@ func (s *Framework) URL(routeName string, args ...interface{}) (url string) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
srv := s.Servers.Main()
|
srv := s.Servers.Main()
|
||||||
scheme := s.Servers.Main().Scheme()
|
scheme := srv.Scheme()
|
||||||
|
|
||||||
host := srv.Host()
|
host := srv.Host()
|
||||||
arguments := args[0:]
|
arguments := args[0:]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user