From 41c71bda468c59ce2e4038ade666b2c11b821679 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Quentin=20Guid=C3=A9e?= Date: Wed, 13 Sep 2023 12:42:36 -0400 Subject: [PATCH] Support for custom routes in the URLs --- types/service.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/types/service.go b/types/service.go index 0d5cf8cb..7c64b18a 100644 --- a/types/service.go +++ b/types/service.go @@ -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"`