login 수정(5)

This commit is contained in:
김현욱
2025-12-10 12:10:26 +09:00
parent a1e8825570
commit a5e30d9a24
6 changed files with 25 additions and 3 deletions

View File

@@ -87,14 +87,14 @@ public class UrlExtractor {
String host = url.replaceFirst("https?://", "");
// 로컬 혹은 개발 서브도메인 제거
/* 서브도메인 구분
//서브도메인 구분
if (host.startsWith("loc.")) {
host = host.replaceFirst("loc\\.", "");
}
if (host.startsWith("dev.")) {
host = host.replaceFirst("dev\\.", "");
}
*/
// 포트번호 제거
int portIndex = host.indexOf(":");