Skip to content

Commit f58a543

Browse files
committed
fix: missing url for python command
1 parent 5d35b55 commit f58a543

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

pkg/server/templates/content/tab_reqbuilder.templ

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,8 @@ func pythonCommand(t *vsl.Transaction, f ReqBuilderForm) string {
258258
}
259259
s.WriteString(fmt.Sprintf("url = \"%s://%s%s\"\n\n", protocol, custom[0]+":"+custom[1], url.Value()))
260260
includeHostHdr = true
261+
default:
262+
s.WriteString(fmt.Sprintf("url = \"%s://%s%s\"\n\n", protocol, hostHdr.HeaderValue(), url.Value()))
261263
}
262264

263265
// Add headers

pkg/server/templates/content/tab_reqbuilder_templ.go

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)