diff --git a/admin/src/main/java/app/module/admin/config/adapters/web/interceptor/AdminURIInterceptor.java b/admin/src/main/java/app/module/admin/config/adapters/web/interceptor/AdminURIInterceptor.java index 91c100f5..a9ae6cdc 100644 --- a/admin/src/main/java/app/module/admin/config/adapters/web/interceptor/AdminURIInterceptor.java +++ b/admin/src/main/java/app/module/admin/config/adapters/web/interceptor/AdminURIInterceptor.java @@ -28,6 +28,8 @@ public class AdminURIInterceptor implements HandlerInterceptor { private final URICurrentMatchingPortIn uriCurrentMatchingPortIn; private final URIAncestryPortIn uriAncestryPortIn; private final URITopTierPortIn topTierPortIn; + @Value("${spring.profiles.active}") + private String activeProfiles; @Value("${app.aws.s3.domain:null}") private String cloudFrontDomain; @@ -71,6 +73,9 @@ public class AdminURIInterceptor implements HandlerInterceptor { return; } + // 활성 프로파일 가져오기 TODO 2차 오픈시 삭제 예정 + modelAndView.addObject("activeProfile", activeProfiles); + if (!CommonUtil.isAjaxRequest(request)) { URITopTier topTierOutput = topTierPortIn.connect(AppType.ADMIN); modelAndView.addObject("topNode", recursiveMapping(topTierOutput)); diff --git a/admin/src/main/resources/templates/researcher/researchers.html b/admin/src/main/resources/templates/researcher/researchers.html index 237e38f2..5e034f6e 100644 --- a/admin/src/main/resources/templates/researcher/researchers.html +++ b/admin/src/main/resources/templates/researcher/researchers.html @@ -9,7 +9,6 @@ -
@@ -94,7 +93,7 @@
-