260609_04_ENH: 단축 url test 완료 기능 막아 놓음
This commit is contained in:
@@ -26,6 +26,11 @@ public class ShortUrlController {
|
||||
) {
|
||||
//String targetUrl = shortUrlService.findTargetUrl(shortKey);
|
||||
String targetUrl = "https://kon.kric.com/project/2606002_A/INDEX.asp";
|
||||
|
||||
if (!targetUrl.startsWith("http://") && !targetUrl.startsWith("https://")) {
|
||||
targetUrl = "https://" + targetUrl;
|
||||
}
|
||||
|
||||
UriComponentsBuilder builder = UriComponentsBuilder.fromHttpUrl(targetUrl);
|
||||
|
||||
params.forEach((key, values) -> {
|
||||
|
||||
@@ -46,7 +46,7 @@ kri:
|
||||
- /swagger-ui/**
|
||||
- /ping
|
||||
- /internal/apikey/**
|
||||
- /api/v1/short-url/redirect/**
|
||||
#- /api/v1/short-url/redirect/**
|
||||
|
||||
swagger:
|
||||
enabled: true
|
||||
|
||||
Reference in New Issue
Block a user