Unify default port to 8080

This commit is contained in:
Martin Mareš 2023-11-06 13:06:40 +01:00
parent 1f41ff2742
commit f6201469ba
No known key found for this signature in database
GPG key ID: 08E5028010B00DFA
4 changed files with 23 additions and 23 deletions

View file

@ -1,4 +1,4 @@
server.port=8081 server.port=8080
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;

View file

@ -1,6 +1,6 @@
# application url for selenium # application url for selenium
server.port=8081 server.port=8080
application.url=http://localhost:8081 application.url=http://localhost:8080
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

@ -1,7 +1,7 @@
import environment from './environment'; import environment from './environment';
import {PLATFORM} from 'aurelia-pal'; import { PLATFORM } from 'aurelia-pal';
import * as Bluebird from 'bluebird'; import * as Bluebird from 'bluebird';
import {HttpClient} from 'aurelia-fetch-client'; import { HttpClient } from 'aurelia-fetch-client';
// remove out if you don't want a Promise polyfill (remove also from webpack.config.js) // remove out if you don't want a Promise polyfill (remove also from webpack.config.js)
@ -18,7 +18,7 @@ export function configure(aurelia) {
http.configure(config => { http.configure(config => {
config config
.useStandardConfiguration() .useStandardConfiguration()
.withBaseUrl('http://localhost:8081/') .withBaseUrl('http://localhost:8080/')
.withDefaults({ .withDefaults({
headers: { headers: {
'Accept': 'application/json' 'Accept': 'application/json'
@ -34,7 +34,7 @@ export function configure(aurelia) {
return response; return response;
} }
}); });
}); });
container.registerInstance(HttpClient, http); container.registerInstance(HttpClient, http);

0
mvnw vendored Normal file → Executable file
View file