1
0
Fork 0
mirror of https://github.com/binwiederhier/ntfy.git synced 2025-05-28 09:25:37 +02:00

Add 'Cache: no' header, closes

This commit is contained in:
Philipp Heckel 2021-12-09 10:23:17 -05:00
parent d5be5d3e8c
commit d6fbccab55
11 changed files with 191 additions and 22 deletions
server/static/js

View file

@ -294,7 +294,7 @@ const formatTitle = (m) => {
const formatTitleA = (m) => {
const emojiList = toEmojis(m.tags);
if (emojiList) {
if (emojiList.length > 0) {
return `${emojiList.join(" ")} ${m.title}`;
} else {
return m.title;
@ -306,7 +306,7 @@ const formatMessage = (m) => {
return m.message;
} else {
const emojiList = toEmojis(m.tags);
if (emojiList) {
if (emojiList.length > 0) {
return `${emojiList.join(" ")} ${m.message}`;
} else {
return m.message;