..
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user