Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
rather than play games to avoid "//" showing up in <base href> in ind…
Browse files Browse the repository at this point in the history
…ex.html, just add a separate sysprop that we'll set for thatv
  • Loading branch information
jmazzitelli committed Feb 20, 2015
1 parent c64233b commit f943b7b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions ui/console/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@

<properties>
<hawkular.console.context>/hawkular-console</hawkular.console.context>
<hawkular.console.index.html.base.href>/hawkular-console/</hawkular.console.index.html.base.href>
</properties>

<build>
Expand Down Expand Up @@ -160,6 +161,7 @@
<id>dev</id>
<properties>
<hawkular.console.context>/</hawkular.console.context>
<hawkular.console.index.html.base.href>/</hawkular.console.index.html.base.href>
</properties>
<build>
<plugins>
Expand Down
2 changes: 1 addition & 1 deletion ui/console/src/main/webapp/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<head>
<title>hawkular-console</title>
<base href='${hawkular.console.context}/'>
<base href='${hawkular.console.index.html.base.href}'>
<meta charset="UTF8">


Expand Down

0 comments on commit f943b7b

Please sign in to comment.