Compare commits

...

2 commits

Author SHA1 Message Date
Dmitry Isaenko
4666fa1f0f Fix typos 2024-01-21 12:44:00 +03:00
Dmitry Isaenko
cd8222287b correct logs view 2024-01-21 12:43:42 +03:00
3 changed files with 5 additions and 2 deletions

View file

@ -40,7 +40,7 @@ public class DownloadController {
response.setContentType(MediaType.APPLICATION_OCTET_STREAM_VALUE); response.setContentType(MediaType.APPLICATION_OCTET_STREAM_VALUE);
response.setHeader(HttpHeaders.CONTENT_DISPOSITION, response.setHeader(HttpHeaders.CONTENT_DISPOSITION,
ContentDisposition.attachment() ContentDisposition.attachment()
.filename(file + ".fb2", StandardCharsets.UTF_8) // TODO: fix .filename(file, StandardCharsets.UTF_8) // TODO: fix
.build() .build()
.toString()); .toString());

View file

@ -16,6 +16,9 @@ logging:
level: level:
org: org:
springframework: INFO springframework: INFO
logging:
pattern:
console: "%d{dd.MM.yyyy HH:mm:ss.SSS} - [%thread] %clr(%level) %blue(%logger{15}) : %msg %n"
marinesco: marinesco:
library: library:
filesLocation: "/library" filesLocation: "/library"

View file

@ -13,7 +13,7 @@
<div class="page"> <div class="page">
<div th:replace="~{fragments/header :: 'header-anon'}"></div> <div th:replace="~{fragments/header :: 'header-anon'}"></div>
<div class="container base"> <div class="container base">
<h1>Currently we're close to new registrations</h1> <h1>Currently we're closed to new registrations</h1>
</div> </div>
</div> </div>
<div th:replace="~{fragments/footer :: 'footer'}"></div> <div th:replace="~{fragments/footer :: 'footer'}"></div>