Skip to content

Commit

Permalink
test autre technique de redirection
Browse files Browse the repository at this point in the history
  • Loading branch information
julg committed Feb 28, 2024
1 parent 70f98cc commit 7435da6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public ResponseEntity<Object> redirectXML2(@PathVariable String nntOuNumsujet){

@GetMapping(value = "{nntOuNumsujet}.xml")
public ResponseEntity<Void> redirectXML(@PathVariable String nntOuNumsujet){

log.info("REDIRECTION XML");
return ResponseEntity.status(HttpStatus.MOVED_PERMANENTLY).location(URI.create(racine + "/api/v1/export/xml/" + nntOuNumsujet)).build();
}

Expand Down

0 comments on commit 7435da6

Please sign in to comment.