Implement --host flag to override {{.Host}} #29

Manually merged
electricdusk merged 1 commits from dsprenkels/host into master 2019-12-16 05:22:42 +01:00
Owner

Add a --host flag that can be set to some host. This will set the {{.Host}} template variable to that value. If it is not set, it will default to the request Host header, prepended by https://.

Fixes #15.

Add a `--host` flag that can be set to some host. This will set the `{{.Host}}` template variable to that value. If it is not set, it will default to the request `Host` header, prepended by `https://`. Fixes #15.
mrngm was assigned by electricdusk 2019-12-15 12:24:27 +01:00
electricdusk changed title from WIP: Implement --host flag to override {{.Host}} to Implement --host flag to override {{.Host}} 2019-12-15 12:37:38 +01:00
electricdusk closed this pull request 2019-12-16 05:22:41 +01:00
electricdusk deleted branch dsprenkels/host 2019-12-16 11:52:11 +01:00
Sign in to join this conversation.
No reviewers
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: electricdusk/rushlink#29
No description provided.