260609_04_ENH: 단축 url test 완료 기능 막아 놓음

This commit is contained in:
2026-06-09 17:58:21 +09:00
parent 3a198732cd
commit 3baef8ec98
2 changed files with 6 additions and 1 deletions

View File

@@ -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) -> {

View File

@@ -46,7 +46,7 @@ kri:
- /swagger-ui/**
- /ping
- /internal/apikey/**
- /api/v1/short-url/redirect/**
#- /api/v1/short-url/redirect/**
swagger:
enabled: true