Skip to content

Commit

Permalink
Support for custom routes in the URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
quentinguidee committed Sep 13, 2023
1 parent 80cbea4 commit 41c71bd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions types/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,9 @@ type URL struct {
// but the port here doesn't change with the environment.
Port string `yaml:"port" json:"port"`

// HomeRoute allows to specify a route to change the home path.
HomeRoute *string `yaml:"home,omitempty" json:"home,omitempty"`

// PingRoute allows to specify a route to change the ping path.
PingRoute *string `yaml:"ping,omitempty" json:"ping,omitempty"`

Expand Down

0 comments on commit 41c71bd

Please sign in to comment.