fix: correcting spi-theme options

closes: #40930

Signed-off-by: Steve Hawkins <shawkins@redhat.com>
This commit is contained in:
Steven Hawkins
2025-07-07 09:18:24 -04:00
committed by GitHub
parent 2aca97bd19
commit eba4934950
3 changed files with 3 additions and 3 deletions
@@ -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.
+1 -1
View File
@@ -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)