Merge branch 'mm-frontend-api-root' into 'master'
Use relative base url for backend See merge request BI-IDO/bi-ido-flight-log-public!7
This commit is contained in:
commit
dff04667db
4 changed files with 24 additions and 23 deletions
File diff suppressed because one or more lines are too long
|
@ -9,5 +9,5 @@
|
|||
</head>
|
||||
<body aurelia-app="main">
|
||||
|
||||
<script type="text/javascript" src="/app.768a36b72f06ac99edf3.bundle.js"></script><script type="text/javascript" src="/vendor.ba835e659bca766e203c.bundle.js"></script></body>
|
||||
<script type="text/javascript" src="/app.bundle.js"></script><script type="text/javascript" src="/vendor.ba835e659bca766e203c.bundle.js"></script></body>
|
||||
</html>
|
||||
|
|
|
@ -18,7 +18,7 @@ export function configure(aurelia) {
|
|||
http.configure(config => {
|
||||
config
|
||||
.useStandardConfiguration()
|
||||
.withBaseUrl('http://localhost:8081/')
|
||||
.withBaseUrl('/') // It used to be http://localhost:8081, but let it use default host
|
||||
.withDefaults({
|
||||
headers: {
|
||||
'Accept': 'application/json'
|
||||
|
|
0
mvnw
vendored
Normal file → Executable file
0
mvnw
vendored
Normal file → Executable file
Loading…
Reference in a new issue