Let it use default host for FE
This commit is contained in:
parent
70ee6a6c76
commit
7ab1653441
|
@ -1,4 +1,4 @@
|
||||||
server.port=8080
|
server.port=8081
|
||||||
|
|
||||||
spring.datasource.initialization-mode=always
|
spring.datasource.initialization-mode=always
|
||||||
spring.datasource.url=jdbc:h2:file:~/H2_flightlog;DB_CLOSE_ON_EXIT=FALSE;IFEXISTS=FALSE;DB_CLOSE_DELAY=-1;
|
spring.datasource.url=jdbc:h2:file:~/H2_flightlog;DB_CLOSE_ON_EXIT=FALSE;IFEXISTS=FALSE;DB_CLOSE_DELAY=-1;
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1,6 +1,6 @@
|
||||||
# application url for selenium
|
# application url for selenium
|
||||||
server.port=8080
|
server.port=8081
|
||||||
application.url=http://localhost:8080
|
application.url=http://localhost:8081
|
||||||
|
|
||||||
spring.datasource.initialization-mode=always
|
spring.datasource.initialization-mode=always
|
||||||
spring.datasource.url=jdbc:h2:file:~/H2_flightlog;DB_CLOSE_ON_EXIT=FALSE;IFEXISTS=FALSE;DB_CLOSE_DELAY=-1;MODE=PostgreSQL;
|
spring.datasource.url=jdbc:h2:file:~/H2_flightlog;DB_CLOSE_ON_EXIT=FALSE;IFEXISTS=FALSE;DB_CLOSE_DELAY=-1;MODE=PostgreSQL;
|
||||||
|
|
|
@ -18,7 +18,7 @@ export function configure(aurelia) {
|
||||||
http.configure(config => {
|
http.configure(config => {
|
||||||
config
|
config
|
||||||
.useStandardConfiguration()
|
.useStandardConfiguration()
|
||||||
.withBaseUrl('http://localhost:8080/')
|
.withBaseUrl('/') // It used to be http://localhost:8081, but let it use default host
|
||||||
.withDefaults({
|
.withDefaults({
|
||||||
headers: {
|
headers: {
|
||||||
'Accept': 'application/json'
|
'Accept': 'application/json'
|
||||||
|
|
Loading…
Reference in a new issue