Skip to content

Commit

Permalink
WIP1
Browse files Browse the repository at this point in the history
  • Loading branch information
dima767 committed Jan 23, 2020
1 parent 38859ea commit d19f5c4
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions backend/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,13 @@ bootWar {
"Implementation-Version" : "${project.version}"
)
}
from(tasks.findByPath(':ui:npm_run_buildProd').outputs) {
into 'WEB-INF/classes/templates'
include 'index.html'
}
from(tasks.findByPath(':ui:npm_run_buildProd').outputs) {
into 'WEB-INF/classes/resources'
//include 'index.html'
}
archiveName = "${baseName}-${version}.war"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ public class RootUiViewController {

@RequestMapping("/")
public String index() {
return "redirect:/index.html";
return "index";
}
}
2 changes: 1 addition & 1 deletion ui/src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8">
<title>Shibboleth IDP UI</title>
<!--<base th:href="#{app.baseHref}" href="/"> -->
<base 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 d19f5c4

Please sign in to comment.