This commit is contained in:
2025-12-26 17:31:21 +09:00
parent 9b29b623c2
commit e8355b3048
46 changed files with 2510 additions and 1765 deletions
@@ -13,6 +13,9 @@
<meta name="_csrf" th:content="${_csrf.token}"/>
<meta name="_csrf_header" th:content="${_csrf.headerName}"/>
<meta name="_csrf_parameter" th:content="${_csrf.parameterName}"/>
<!-- <th:block th:with="userTheme=${user != null ? user.theme : 'default'}">-->
<!-- <link rel="stylesheet" th:href="@{/css/themes/} + ${userTheme} + '.css'" />-->
<!-- </th:block>-->
<script th:inline="javascript">
/*
* [Modified] This object must include all fields from the Post.kt model.
@@ -55,8 +58,8 @@
keyword: /*[[${keyword ?: ''}]]*/,
// --- [핵심 추가] ---
token: /*[[${jwtToken}]]*/,
apiBaseUrl : /*[[${apiBaseUrl}]]*/,
userTheme: [[${#authentication.principal != 'anonymousUser' ? user?.theme : null}]],
apiBaseUrl : /*[[${apiBaseUrl}]]*/,
userTheme: [[${#authentication.principal != 'anonymousUser' ? user?.theme : null}]],
};
</script>
</th:block>