diff --git a/satellite/console/consoleweb/server.go b/satellite/console/consoleweb/server.go index 1e8769cdd..bc96e1ee0 100644 --- a/satellite/console/consoleweb/server.go +++ b/satellite/console/consoleweb/server.go @@ -89,6 +89,7 @@ type Config struct { CouponCodeUIEnabled bool `help:"indicates if user is allowed to add coupon codes to account" default:"false"` FileBrowserFlowDisabled bool `help:"indicates if file browser flow is disabled" default:"true"` CSPEnabled bool `help:"indicates if Content Security Policy is enabled" devDefault:"false" releaseDefault:"true"` + LinksharingURL string `help:"url link for linksharing requests" default:"https://link.tardigradeshare.io"` RateLimit web.IPRateLimiterConfig @@ -315,6 +316,7 @@ func (server *Server) appHandler(w http.ResponseWriter, r *http.Request) { DocumentationURL string CouponCodeUIEnabled bool FileBrowserFlowDisabled bool + LinksharingURL string } data.ExternalAddress = server.config.ExternalAddress @@ -334,6 +336,7 @@ func (server *Server) appHandler(w http.ResponseWriter, r *http.Request) { data.DocumentationURL = server.config.DocumentationURL data.CouponCodeUIEnabled = server.config.CouponCodeUIEnabled data.FileBrowserFlowDisabled = server.config.FileBrowserFlowDisabled + data.LinksharingURL = server.config.LinksharingURL if server.templates.index == nil { server.log.Error("index template is not set") diff --git a/scripts/testdata/satellite-config.yaml.lock b/scripts/testdata/satellite-config.yaml.lock index 4b282cd29..2ee0fe5fa 100755 --- a/scripts/testdata/satellite-config.yaml.lock +++ b/scripts/testdata/satellite-config.yaml.lock @@ -127,6 +127,9 @@ compensation.withheld-percents: 75,75,75,50,50,50,25,25,25,0,0,0,0,0,0 # url link to let us know page # console.let-us-know-url: https://storjlabs.atlassian.net/servicedesk/customer/portals +# url link for linksharing requests +# console.linksharing-url: https://link.tardigradeshare.io + # enable open registration # console.open-registration-enabled: false diff --git a/web/satellite/index.html b/web/satellite/index.html index 9424ead01..d20061b79 100644 --- a/web/satellite/index.html +++ b/web/satellite/index.html @@ -20,6 +20,7 @@ +