Skip to content

Commit

Permalink
Add godoc to justify use of developmentRedirectURI
Browse files Browse the repository at this point in the history
Spawned from:
openshift#10895 (comment)

This patch adds a brief explanation for the use of "localhost:9000" as a
default develppment redirect URI in the `oc cluster up` setup.
  • Loading branch information
juanvallejo committed Sep 27, 2016
1 parent 3d66d0e commit 582dfce
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/bootstrap/docker/up.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,9 @@ const (
initialProjectDisplay = "My Project"
initialProjectDesc = "Initial developer project"

defaultRedirectClient = "openshift-web-console"
// developmentRedirectURI is a default redirect to enable out-of-the-box web-console development against a cluster up server
developmentRedirectURI = "https://localhost:9000"
defaultRedirectClient = "openshift-web-console"

defaultImages = "openshift/origin-${component}:${version}"
defaultOpenShiftImage = "openshift/origin:${version}"
Expand Down

0 comments on commit 582dfce

Please sign in to comment.