added production profile
This commit is contained in:
parent
7e67c60a90
commit
bc833d0da4
8
chatto/src/main/resources/application-prod.properties
Normal file
8
chatto/src/main/resources/application-prod.properties
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
logging.level.org.hibernate.stat=INFO
|
||||||
|
logging.level.org.springframework.web=INFO
|
||||||
|
logging.level.web=INFO
|
||||||
|
logging.level.org.hibernate.SQL=INFO
|
||||||
|
logging.level.org.hibernate.type.descriptor.sql.BasicBinder=INFO
|
||||||
|
spring.http.log-request-details=false
|
||||||
|
logging.level.org.springframework.cache = INFO
|
||||||
|
chat-bundle=bundle.min.js
|
@ -26,5 +26,6 @@ spring.cache.jcache.config=classpath:ehcache.xml
|
|||||||
logging.level.org.springframework.cache = DEBUG
|
logging.level.org.springframework.cache = DEBUG
|
||||||
|
|
||||||
chatto.token.timeout-duration=30
|
chatto.token.timeout-duration=30
|
||||||
|
chat-bundle=bundle.js
|
||||||
|
|
||||||
# spring.devtools.add-properties=false
|
# spring.devtools.add-properties=false
|
@ -10,14 +10,9 @@
|
|||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<title id="pageTitle">Chat</title>
|
<title id="pageTitle">Chat</title>
|
||||||
</div>
|
</div>
|
||||||
<script src="./../../javascript/bundle.js" th:src="@{/js/bundle.js}" defer></script>
|
<script src="./../../javascript/bundle.js" th:src="@{'/js/' + ${@environment.getProperty('chat-bundle')}}" defer></script>
|
||||||
<link rel="stylesheet" th:href="@{/css/chat.css}" href="../../resources/static/css/chat.css">
|
<link rel="stylesheet" th:href="@{/css/chat.css}" href="../../resources/static/css/chat.css">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- <script th:src="@{js/my_Crypto.js}" type="text/javascript"></script> -->
|
|
||||||
|
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
@ -3,7 +3,6 @@
|
|||||||
|
|
||||||
<head>
|
<head>
|
||||||
<th:block th:fragment="headFragment">
|
<th:block th:fragment="headFragment">
|
||||||
<!--<script th:src="@{js/my_Crypto.js}" type="text/javascript"></script>-->
|
|
||||||
|
|
||||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/sprintf/1.1.2/sprintf.min.js" type="text/javascript"></script>
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/sprintf/1.1.2/sprintf.min.js" type="text/javascript"></script>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
@ -29,14 +28,7 @@
|
|||||||
<link th:href="@{/css/master.css}" href="../../resources/static/css/master.css" rel="stylesheet">
|
<link th:href="@{/css/master.css}" href="../../resources/static/css/master.css" rel="stylesheet">
|
||||||
<link th:href="@{/css/colors.css}" href="../../resources/static/css/colors.css" rel="stylesheet">
|
<link th:href="@{/css/colors.css}" href="../../resources/static/css/colors.css" rel="stylesheet">
|
||||||
|
|
||||||
<script th:inline="javascript">
|
|
||||||
var hostAddress = window.location.host;
|
|
||||||
/* var hostAddress2 = [[#{test.bindAddress}]]; */
|
|
||||||
// console.log("hostname" + window.location.host);
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<!-- <title th:text="${title}">Page</title> -->
|
|
||||||
<title th:include=":: #pageTitle">Layout Generic Title</title>
|
<title th:include=":: #pageTitle">Layout Generic Title</title>
|
||||||
</th:block>
|
</th:block>
|
||||||
</head>
|
</head>
|
||||||
@ -46,4 +38,3 @@
|
|||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
<!-- th:href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.3.1/css/bootstrap.css"-->
|
|
Loading…
Reference in New Issue
Block a user