Unify default port to 8080
This commit is contained in:
parent
1f41ff2742
commit
f6201469ba
4 changed files with 23 additions and 23 deletions
|
@ -1,4 +1,4 @@
|
|||
server.port=8081
|
||||
server.port=8080
|
||||
|
||||
spring.datasource.initialization-mode=always
|
||||
spring.datasource.url=jdbc:h2:file:~/H2_flightlog;DB_CLOSE_ON_EXIT=FALSE;IFEXISTS=FALSE;DB_CLOSE_DELAY=-1;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# application url for selenium
|
||||
server.port=8081
|
||||
application.url=http://localhost:8081
|
||||
server.port=8080
|
||||
application.url=http://localhost:8080
|
||||
|
||||
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;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import environment from './environment';
|
||||
import {PLATFORM} from 'aurelia-pal';
|
||||
import { PLATFORM } from 'aurelia-pal';
|
||||
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)
|
||||
|
@ -17,24 +17,24 @@ export function configure(aurelia) {
|
|||
let http = new HttpClient();
|
||||
http.configure(config => {
|
||||
config
|
||||
.useStandardConfiguration()
|
||||
.withBaseUrl('http://localhost:8081/')
|
||||
.withDefaults({
|
||||
headers: {
|
||||
'Accept': 'application/json'
|
||||
}
|
||||
})
|
||||
.withInterceptor({
|
||||
request(request) {
|
||||
console.log(`Requesting ${request.method} ${request.url}`);
|
||||
return request;
|
||||
},
|
||||
response(response) {
|
||||
console.log(`Received ${response.status} ${response.url}`);
|
||||
return response;
|
||||
}
|
||||
});
|
||||
});
|
||||
.useStandardConfiguration()
|
||||
.withBaseUrl('http://localhost:8080/')
|
||||
.withDefaults({
|
||||
headers: {
|
||||
'Accept': 'application/json'
|
||||
}
|
||||
})
|
||||
.withInterceptor({
|
||||
request(request) {
|
||||
console.log(`Requesting ${request.method} ${request.url}`);
|
||||
return request;
|
||||
},
|
||||
response(response) {
|
||||
console.log(`Received ${response.status} ${response.url}`);
|
||||
return response;
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
container.registerInstance(HttpClient, http);
|
||||
|
||||
|
|
0
mvnw
vendored
Normal file → Executable file
0
mvnw
vendored
Normal file → Executable file
Loading…
Reference in a new issue