Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop

This commit is contained in:
syuilo 2023-02-09 17:54:14 +09:00
commit 6641b13b4c
4 changed files with 5 additions and 3 deletions

View File

@ -11,7 +11,8 @@ You should also include the user name that made the change.
## 13.x.x (unreleased) ## 13.x.x (unreleased)
### Improvements ### Improvements
- Server: UIのHTMLートなどの特別なページを除くのキャッシュ時間を15秒から300秒に - Server: UIのHTMLートなどの特別なページを除くのキャッシュ時間を15秒から30秒に
- i/notificationsのレートリミットを緩和
### Bugfixes ### Bugfixes
- -

View File

@ -129,6 +129,7 @@ unblockConfirm: "¿Quiere dejar de bloquear esta cuenta?"
suspendConfirm: "¿Quiere suspender esta cuenta?" suspendConfirm: "¿Quiere suspender esta cuenta?"
unsuspendConfirm: "¿Quiere dejar de suspender esta cuenta?" unsuspendConfirm: "¿Quiere dejar de suspender esta cuenta?"
selectList: "Seleccione una lista" selectList: "Seleccione una lista"
selectChannel: "Seleccionar canal"
selectAntenna: "Seleccionar antena" selectAntenna: "Seleccionar antena"
selectWidget: "Seleccionar widget" selectWidget: "Seleccionar widget"
editWidgets: "Editar widgets" editWidgets: "Editar widgets"

View File

@ -15,7 +15,7 @@ export const meta = {
requireCredential: true, requireCredential: true,
limit: { limit: {
duration: 60000, duration: 30000,
max: 15, max: 15,
}, },

View File

@ -337,7 +337,7 @@ export class ClientServerService {
const renderBase = async (reply: FastifyReply) => { const renderBase = async (reply: FastifyReply) => {
const meta = await this.metaService.fetch(); const meta = await this.metaService.fetch();
reply.header('Cache-Control', 'public, max-age=300'); reply.header('Cache-Control', 'public, max-age=30');
return await reply.view('base', { return await reply.view('base', {
img: meta.bannerUrl, img: meta.bannerUrl,
title: meta.name ?? 'Misskey', title: meta.name ?? 'Misskey',