Compare commits

...

5 Commits

Author SHA1 Message Date
syuilo 011ad30f54 Merge branch 'develop' into update-deps 2023-09-03 16:56:31 +09:00
syuilo a34405bf06 update node 2023-09-03 16:56:24 +09:00
syuilo 2db63d1a55 Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2023-09-03 16:55:30 +09:00
xtex a53727f1a5
Respond .well-known/host-meta.json with application/json (#11777)
According to RFC 6415 appendix-A.
   The server
   MUST include the HTTP "Content-Type" response header field with a
   value of "application/json".  Any other "Content-Type" value (or lack
   thereof) indicates that the server does not support the JRD format.
"application/jrd+json" is only used by WebFinger (RFC 7033)
2023-09-03 16:42:32 +09:00
syuilo db2f49cda4 Update about-misskey.vue 2023-09-02 13:16:05 +09:00
5 changed files with 5 additions and 4 deletions

View File

@ -6,7 +6,7 @@
"features": { "features": {
"ghcr.io/devcontainers-contrib/features/pnpm:2": {}, "ghcr.io/devcontainers-contrib/features/pnpm:2": {},
"ghcr.io/devcontainers/features/node:1": { "ghcr.io/devcontainers/features/node:1": {
"version": "20.5.0" "version": "20.5.1"
} }
}, },
"forwardPorts": [3000], "forwardPorts": [3000],

View File

@ -1 +1 @@
20.5.0 20.5.1

View File

@ -1,6 +1,6 @@
# syntax = docker/dockerfile:1.4 # syntax = docker/dockerfile:1.4
ARG NODE_VERSION=20.5.0-bullseye ARG NODE_VERSION=20.5.1-bullseye
# build assets & compile TypeScript # build assets & compile TypeScript

View File

@ -73,7 +73,7 @@ export class WellKnownServerService {
}); });
fastify.get('/.well-known/host-meta.json', async (request, reply) => { fastify.get('/.well-known/host-meta.json', async (request, reply) => {
reply.header('Content-Type', jrd); reply.header('Content-Type', 'application/json');
return { return {
links: [{ links: [{
rel: 'lrdd', rel: 'lrdd',

View File

@ -285,6 +285,7 @@ const patrons = [
'越貝鯛丸', '越貝鯛丸',
'Nick / pprmint.', 'Nick / pprmint.',
'kino3277', 'kino3277',
'美少女JKぐーちゃん',
]; ];
let thereIsTreasure = $ref($i && !claimedAchievements.includes('foundTreasure')); let thereIsTreasure = $ref($i && !claimedAchievements.includes('foundTreasure'));