통합 관리자 - 활성 환경(Active Profile)에 따른 타이틀 변경

This commit is contained in:
이대환
2026-04-01 17:04:13 +09:00
parent 371f1fa471
commit 113bc9ffcc
8 changed files with 24 additions and 10 deletions

View File

@@ -2,7 +2,7 @@
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<spring:eval expression="@environment.getProperty('spring.profiles.active')" var="profiles"/>
<%--
Class Name : include.jsp
Description : 통합관리자 CSS 및 JS 공통 include
@@ -25,10 +25,16 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" type="image/png" href="\assets\favicon\gcone.ico">
<title>통합관리자</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>
통합관리자
</title>
<%--mixed Contents 대응--%>
<spring:eval expression="@environment.getProperty('spring.profiles.active')" var="profiles"/>
<c:if test="${profiles eq 'stage'}">
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
</c:if>