Skip to content

Commit

Permalink
port 443
Browse files Browse the repository at this point in the history
  • Loading branch information
Max Handke committed Jan 8, 2024
1 parent ffb8ef7 commit e1c19ac
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ EntityModel<User> one(@PathVariable("id") Long id){
User updateUser(@RequestBody User newUser, @PathVariable Long id) {
return userService.findById(id).map(User -> {
User.setUserName(newUser.getUserName());
User.setRoles(newUser.getRoles());
return userService.save(User);
}).orElseGet(() -> {
newUser.setId(id);
Expand Down
3 changes: 0 additions & 3 deletions src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,7 @@ spring.datasource.url=jdbc:sqlserver://kickevent.database.windows.net:1433;datab
spring.datasource.driverClassName=com.microsoft.sqlserver.jdbc.SQLServerDriver
spring.jpa.hibernate.ddl-auto=update
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.SQLServerDialect


server.port=443

user.token.expirationTimeInMs=600000L
user.refreshtoken.expirationTimeInMs=86400000
server.error.include-message=always
Expand Down

0 comments on commit e1c19ac

Please sign in to comment.