Skip to content

Commit

Permalink
fix: bug(jans-auth-server): custom pages are not found #1318
Browse files Browse the repository at this point in the history
  • Loading branch information
yurem committed May 12, 2022
1 parent 8597750 commit e1e0bf9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
oxauth.debug=false

javax.faces.PROJECT_STAGE=Production
javax.faces.FACELETS_REFRESH_PERIOD=10
jakarta.faces.PROJECT_STAGE=Production
jakarta.faces.FACELETS_REFRESH_PERIOD=10

log4j.default.log.level=INFO
weld.debug=false
12 changes: 6 additions & 6 deletions jans-auth-server/server/src/main/webapp-jetty/WEB-INF/web.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,24 +20,24 @@

<!-- JSF -->
<context-param>
<param-name>javax.faces.PROJECT_STAGE</param-name>
<param-name>jakarta.faces.PROJECT_STAGE</param-name>
<param-value>Production</param-value>
</context-param>
<context-param>
<param-name>javax.faces.DEFAULT_SUFFIX</param-name>
<param-name>jakarta.faces.DEFAULT_SUFFIX</param-name>
<param-value>.xhtml</param-value>
</context-param>
<context-param>
<param-name>javax.faces.FACELETS_RESOURCE_RESOLVER</param-name>
<param-name>jakarta.faces.FACELETS_RESOURCE_RESOLVER</param-name>
<param-value>io.jans.service.ExternalResourceHandler</param-value>
</context-param>
<!-- Change to -1 when you don't want the compiler should check for changes -->
<context-param>
<param-name>javax.faces.FACELETS_REFRESH_PERIOD</param-name>
<param-value>${javax.faces.FACELETS_REFRESH_PERIOD}</param-value>
<param-name>jakarta.faces.FACELETS_REFRESH_PERIOD</param-name>
<param-value>${jakarta.faces.FACELETS_REFRESH_PERIOD}</param-value>
</context-param>
<context-param>
<param-name>javax.faces.STATE_SAVING_METHOD</param-name>
<param-name>jakarta.faces.STATE_SAVING_METHOD</param-name>
<param-value>client</param-value>
</context-param>

Expand Down

0 comments on commit e1e0bf9

Please sign in to comment.