mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
fix: remove unused ts-ignore
This commit is contained in:
committed by
renovate[bot]
parent
9abff22c6d
commit
3cc47929cf
@@ -114,9 +114,6 @@ export const build = async (
|
||||
await fastify.register(cors);
|
||||
await fastify.register(fastifyCookie);
|
||||
|
||||
// @ts-expect-error @fastify/csrf-protection is overly restrictive, here. It
|
||||
// requires an hmacKey if getToken is provided, but that should only be a
|
||||
// requirement if the getUserInfo function is provided.
|
||||
void fastify.register(fastifyCsrfProtection, {
|
||||
// TODO: consider signing cookies. We don't on the api-server, but we could
|
||||
// as an extra layer of security.
|
||||
|
||||
Reference in New Issue
Block a user