Skip to content

Commit

Permalink
[release-1.4] RHIDP-5373: Setting baseUrl (#884)
Browse files Browse the repository at this point in the history
Co-authored-by: GitHub Actions <github-actions@github.com>
  • Loading branch information
openshift-cherrypick-robot and GitHub Actions authored Jan 28, 2025
1 parent 6d85087 commit 4b43c76
Showing 1 changed file with 22 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,28 @@ It contains one secret per line in `KEY=value` form.
. Author your custom `{my-app-config-file}` file.
This is the main {product-short} configuration file.
+
You can start with an empty file to use the default configuration.
The `baseUrl` field is mandatory in your `{my-app-config-file}` file to ensure proper functionality of {product-short}. You must specify the `baseUrl` in both the `app` and `backend` sections to avoid errors during initialization.
+
.Configuring the `baseUrl` in `{my-app-config-file}`
====
[source,yaml,subs="+attributes,+quotes"]
----
app:
title: {product}
baseUrl: {my-product-url}
backend:
auth:
externalAccess:
- type: legacy
options:
subject: legacy-default-config
secret: "${BACKEND_SECRET}"
baseUrl: {my-product-url}
cors:
origin: {my-product-url}
----
====
+
Optionally, enter your configuration such as:

Expand Down

0 comments on commit 4b43c76

Please sign in to comment.