mirror of
https://github.com/keycloak/keycloak.git
synced 2026-05-01 04:30:44 -05:00
fix: correcting spi-theme options
closes: #40930 Signed-off-by: Steve Hawkins <shawkins@redhat.com>
This commit is contained in:
@@ -74,7 +74,7 @@ restarting {project_name}.
|
||||
+
|
||||
[source,bash]
|
||||
----
|
||||
bin/kc.[sh|bat] start --spi-theme--static-max-age=-1 --spi-theme--cache-themes=false --spi-theme-cache--templates=false
|
||||
bin/kc.[sh|bat] start --spi-theme--static-max-age=-1 --spi-theme--cache-themes=false --spi-theme--cache-templates=false
|
||||
----
|
||||
|
||||
. Create a directory in the `themes` directory.
|
||||
|
||||
@@ -79,7 +79,7 @@ restarting {project_name}.
|
||||
+
|
||||
[source,bash]
|
||||
----
|
||||
bin/kc.[sh|bat] start --spi-theme-static-max-age=-1 --spi-theme-cache-themes=false --spi-theme--cache-templates=false
|
||||
bin/kc.[sh|bat] start --spi-theme--static-max-age=-1 --spi-theme--cache-themes=false --spi-theme--cache-templates=false
|
||||
----
|
||||
|
||||
. Create a directory in the `themes` directory.
|
||||
|
||||
@@ -179,7 +179,7 @@ public class WelcomeResource {
|
||||
Theme theme = getTheme();
|
||||
|
||||
if(Objects.isNull(theme)) {
|
||||
logger.error("Theme is null please check the \"--spi-theme-default\" parameter");
|
||||
logger.error("Theme is null please check the \"--spi-theme--default\" parameter");
|
||||
errorMessage = "The theme is null";
|
||||
ResponseBuilder rb = Response.status(Status.BAD_REQUEST)
|
||||
.entity(errorMessage)
|
||||
|
||||
Reference in New Issue
Block a user