Skip to content

Commit

Permalink
Merge pull request #1 from shatvani/homework
Browse files Browse the repository at this point in the history
Homework
  • Loading branch information
shatvani authored Oct 31, 2024
2 parents ec8629d + 22d01e9 commit a00073e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public ApplicationController(@Value("${hw.message.default}") String defaultMessa
this.defaultMessage = defaultMessage;
}

@GetMapping("/application/test")
@GetMapping("/cubix/test")
public CubixResponse demoMessage(@RequestParam(required = false, name = "message") String message) {
if (!StringUtils.hasText(message)) {
message = defaultMessage;
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/application.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
hw.message.default=default
hw.message.default='Thisisadefaultmessage'

0 comments on commit a00073e

Please sign in to comment.