260609_02_ENH: 단축 url 접근 권한 및 url 수정
This commit is contained in:
@@ -19,7 +19,7 @@ import org.springframework.web.util.UriComponentsBuilder;
|
||||
@Tag(name = "ShortUrl", description = "단축 URL API")
|
||||
public class ShortUrlController {
|
||||
|
||||
@PostMapping("/{shortKey}")
|
||||
@PostMapping("/redirect/{shortKey}")
|
||||
public ResponseEntity<Void> redirectShortUrl(
|
||||
@PathVariable String shortKey,
|
||||
@RequestParam MultiValueMap<String, String> params
|
||||
|
||||
@@ -46,6 +46,7 @@ kri:
|
||||
- /swagger-ui/**
|
||||
- /ping
|
||||
- /internal/apikey/**
|
||||
- /api/v1/short-url/redirect/**
|
||||
|
||||
swagger:
|
||||
enabled: true
|
||||
|
||||
Reference in New Issue
Block a user