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")
|
@Tag(name = "ShortUrl", description = "단축 URL API")
|
||||||
public class ShortUrlController {
|
public class ShortUrlController {
|
||||||
|
|
||||||
@PostMapping("/{shortKey}")
|
@PostMapping("/redirect/{shortKey}")
|
||||||
public ResponseEntity<Void> redirectShortUrl(
|
public ResponseEntity<Void> redirectShortUrl(
|
||||||
@PathVariable String shortKey,
|
@PathVariable String shortKey,
|
||||||
@RequestParam MultiValueMap<String, String> params
|
@RequestParam MultiValueMap<String, String> params
|
||||||
|
|||||||
@@ -46,6 +46,7 @@ kri:
|
|||||||
- /swagger-ui/**
|
- /swagger-ui/**
|
||||||
- /ping
|
- /ping
|
||||||
- /internal/apikey/**
|
- /internal/apikey/**
|
||||||
|
- /api/v1/short-url/redirect/**
|
||||||
|
|
||||||
swagger:
|
swagger:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|||||||
Reference in New Issue
Block a user