Revert "revert 7bfada9792: enhance: remove bull-board support"

This reverts commit d41d77fcd7.
This commit is contained in:
Hazelnoot 2025-03-30 02:14:03 -04:00
parent f13f4ac972
commit a2062c6469
7 changed files with 11 additions and 180 deletions

View file

@ -6,7 +6,6 @@
import { Inject, Injectable } from '@nestjs/common';
import cors from '@fastify/cors';
import multipart from '@fastify/multipart';
import fastifyCookie from '@fastify/cookie';
import { ModuleRef } from '@nestjs/core';
import { AuthenticationResponseJSON } from '@simplewebauthn/types';
import type { Config } from '@/config.js';
@ -57,8 +56,6 @@ export class ApiServerService {
},
});
fastify.register(fastifyCookie, {});
// Prevent cache
fastify.addHook('onRequest', (request, reply, done) => {
reply.header('Cache-Control', 'private, max-age=0, must-revalidate');