Let it use default host for FE

This commit is contained in:
Martin Mareš 2023-11-06 14:55:33 +01:00
parent 70ee6a6c76
commit 7ab1653441
No known key found for this signature in database
GPG key ID: 08E5028010B00DFA
4 changed files with 6 additions and 6 deletions

View file

@ -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

View file

@ -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;

View file

@ -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'