Skip to content

Commit d441a89

Browse files
authored
Merge pull request #98 from tawoe/prestart
add apimanager button to image by default
2 parents 61a129a + b7965ea commit d441a89

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Dockerfiles/frontend_build.env

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ VITE_OBP_HEADER_LINKS_BACKGROUND_COLOR=VITE_OBP_HEADER_LINKS_BACKGROUND_COLOR
1010
VITE_OBP_API_DEFAULT_RESOURCE_DOC_VERSION=VITE_OBP_API_DEFAULT_RESOURCE_DOC_VERSION
1111
VITE_CHATBOT_ENABLED=VITE_CHATBOT_ENABLED
1212
VITE_CHATBOT_URL=VITE_CHATBOT_URL
13-
VITE_SHOW_API_MANAGER_BUTTON=VITE_SHOW_API_MANAGER_BUTTON
13+
VITE_SHOW_API_MANAGER_BUTTON=true

Dockerfiles/prestart.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ func main() {
2020
// url config variables are expected to be a valid URL in the container environment
2121
url_config := []string{"VITE_OBP_API_HOST", "VITE_OBP_API_MANAGER_HOST", "VITE_OBP_API_PORTAL_HOST", "VITE_OBP_LOGO_URL"}
2222
// DANGERZONE: The following strings will be replaced by container environment variables without any checking of whatever!!!
23-
config := []string{"VITE_OBP_API_VERSION","VITE_SHOW_API_MANAGER_BUTTON", "VITE_OBP_LINKS_COLOR", "VITE_OBP_HEADER_LINKS_COLOR", "VITE_OBP_HEADER_LINKS_HOVER_COLOR", "VITE_OBP_HEADER_LINKS_BACKGROUND_COLOR", "VITE_OBP_API_DEFAULT_RESOURCE_DOC_VERSION", "VITE_CHATBOT_ENABLED", "VITE_CHATBOT_URL"}
23+
config := []string{"VITE_OBP_API_VERSION", "VITE_OBP_LINKS_COLOR", "VITE_OBP_HEADER_LINKS_COLOR", "VITE_OBP_HEADER_LINKS_HOVER_COLOR", "VITE_OBP_HEADER_LINKS_BACKGROUND_COLOR", "VITE_OBP_API_DEFAULT_RESOURCE_DOC_VERSION", "VITE_CHATBOT_ENABLED", "VITE_CHATBOT_URL"}
2424
configMap := make(map[string]string)
2525

2626
for _, key := range config {

0 commit comments

Comments
 (0)