From 4666fa1f0ff186d99a62f5f5fae94ce54ecfd74f Mon Sep 17 00:00:00 2001 From: Dmitry Isaenko Date: Sun, 21 Jan 2024 12:44:00 +0300 Subject: [PATCH] Fix typos --- .../ru/redrise/marinesco/library/web/DownloadController.java | 2 +- src/main/resources/templates/registration_forbidden.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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