mirror of
https://github.com/yudai/gotty.git
synced 2026-01-07 18:18:50 +01:00
Merge 'apatil2/master'
This commit is contained in:
commit
1edcacf955
4 changed files with 4 additions and 1 deletions
|
|
@ -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) + "/"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue