Skip to content

Commit

Permalink
Dynamic app context
Browse files Browse the repository at this point in the history
  • Loading branch information
dima767 committed Jan 22, 2020
1 parent 634a943 commit 38859ea
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
6 changes: 2 additions & 4 deletions backend/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,7 @@ bootWar {
)
}
from(tasks.findByPath(':ui:npm_run_buildProd').outputs) {
// into '/'
into '/public'
into 'WEB-INF/classes/resources'
}
archiveName = "${baseName}-${version}.war"
}
Expand All @@ -107,8 +106,7 @@ bootJar {
)
}
from(tasks.findByPath(':ui:npm_run_buildProd').outputs) {
// into '/'
into '/public'
into 'WEB-INF/classes/resources'
}
archiveName = "${baseName}-${version}.jar"
}
Expand Down
3 changes: 2 additions & 1 deletion ui/src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
<head>
<meta charset="utf-8">
<title>Shibboleth IDP UI</title>
<base th:href="#{app.baseHref}" href="/">
<!--<base th:href="#{app.baseHref}" href="/"> -->
<base href="./">

<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/x-icon" href="favicon.ico">
Expand Down

0 comments on commit 38859ea

Please sign in to comment.