쇼핑몰 - 활성 환경(Active Profile)에 따른 타이틀 변경

This commit is contained in:
이대환
2026-04-01 17:05:11 +09:00
parent 569d5e8904
commit 09f40f62e2
3 changed files with 44 additions and 6 deletions

View File

@@ -6,6 +6,8 @@
<%@ taglib prefix="ui" uri="http://www.winbit.kr/ctl/ui" %>
<%@ taglib prefix="f" uri="/WEB-INF/tlds/f.tld" %>
<spring:eval expression="@environment.getProperty('sopmalfo.common.fileupload.cdnurl')" var="cdnurl"/>
<spring:eval expression="@environment.getProperty('spring.profiles.active')" var="profiles"/>
<!DOCTYPE html>
<html lang="ko">
<head>
@@ -34,7 +36,14 @@
</c:if>
<!-- 타이틀-->
<title>${shopInfo.metaSj}</title>
<title>
<c:choose>
<c:when test="${profiles eq 'local'}">(로컬) </c:when>
<c:when test="${profiles eq 'dev'}">(개발) </c:when>
<c:otherwise></c:otherwise>
</c:choose>
${shopInfo.metaSj}
</title>
<script src="/mobile/vendor/jquery-3.7.1.min.js"></script>
<!--js-->
<script src="/login/sopmall/pc/js/common.js"></script>