Skip to content

Commit

Permalink
Fixed consideration of adminContextPath in HTML templates
Browse files Browse the repository at this point in the history
  • Loading branch information
dickerpulli committed Nov 9, 2018
1 parent 892d96e commit 749b665
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion spring-boot-admin-server-ui/src/main/frontend/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

<html>
<head>
<base th:href="@{''}" href="/">
<base th:href="@{${adminContextPath} + '/'}" href="/">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="format-detection" content="telephone=no,email=no">
Expand Down
2 changes: 1 addition & 1 deletion spring-boot-admin-server-ui/src/main/frontend/login.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

<html>
<head>
<base th:href="@{''}" href="/">
<base th:href="@{${adminContextPath} + '/'}" href="/">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="format-detection" content="telephone=no,email=no">
Expand Down
3 changes: 2 additions & 1 deletion spring-boot-admin-server-ui/vue.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ const CopyPlugin = require('copy-webpack-plugin');


module.exports = {
baseUrl: './',
outputDir: 'target/dist',
assetsDir: 'assets',
pages: {
Expand All @@ -34,7 +35,7 @@ module.exports = {
filename: 'login.html'
}
},
chainWebpack: config => {
chainWebpack: config => {
config.resolve.alias.set('@', resolve(__dirname, 'src/main/frontend'));
config.module.rule('html')
.test(/\.html$/)
Expand Down

0 comments on commit 749b665

Please sign in to comment.