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 37afa2d commit 641a492
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public class RedirectionController {
@Value("${racine}")
String racine;

@GetMapping(value = "{nntOuNumsujet}.xml2")
@GetMapping(value = "/test/{nntOuNumsujet}.xml")
public ResponseEntity<Object> redirectXML2(@PathVariable String nntOuNumsujet){
HttpHeaders headers = new HttpHeaders();
headers.add("Location",URI.create(racine + "/api/v1/export/xml/" + nntOuNumsujet).toString());
Expand Down

0 comments on commit 641a492

Please sign in to comment.