Merge 'apatil2/master'

This commit is contained in:
Soren L. Hansen 2021-04-19 02:53:24 -07:00
commit 1edcacf955
4 changed files with 4 additions and 1 deletions

View file

@ -106,7 +106,7 @@ func (server *Server) Run(ctx context.Context, options ...RunOption) error {
counter := newCounter(time.Duration(server.options.Timeout) * time.Second)
path := "/"
path := server.options.Path
if server.options.EnableRandomUrl {
path = "/" + randomstring.Generate(server.options.RandomUrlLength) + "/"
}