diff --git a/src/main/java/ru/redrise/marinesco/library/web/DownloadController.java b/src/main/java/ru/redrise/marinesco/library/web/DownloadController.java index db70c4a..c982cbc 100644 --- a/src/main/java/ru/redrise/marinesco/library/web/DownloadController.java +++ b/src/main/java/ru/redrise/marinesco/library/web/DownloadController.java @@ -40,7 +40,7 @@ public class DownloadController { response.setContentType(MediaType.APPLICATION_OCTET_STREAM_VALUE); response.setHeader(HttpHeaders.CONTENT_DISPOSITION, ContentDisposition.attachment() - .filename(file + ".fb2", StandardCharsets.UTF_8) // TODO: fix + .filename(file, StandardCharsets.UTF_8) // TODO: fix .build() .toString()); diff --git a/src/main/resources/templates/registration_forbidden.html b/src/main/resources/templates/registration_forbidden.html index a08eb99..e978cd2 100644 --- a/src/main/resources/templates/registration_forbidden.html +++ b/src/main/resources/templates/registration_forbidden.html @@ -13,7 +13,7 @@
-

Currently we're close to new registrations

+

Currently we're closed to new registrations