Skip to content

Commit 77e8266

Browse files
committed
hotfix
1 parent 23733e1 commit 77e8266

File tree

3 files changed

+13
-39
lines changed

3 files changed

+13
-39
lines changed

package-lock.json

+13-36
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
"author": "",
1111
"license": "ISC",
1212
"dependencies": {
13-
"@fastify/helmet": "^13.0.0",
1413
"@fastify/swagger": "^8.15.0",
1514
"@fastify/swagger-ui": "^4.0.1",
1615
"@mgcrea/fastify-request-logger": "^1.5.0",

source/main.ts

-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ import { initSwaggerViewer } from './api/v1/openapi/swagger/InitSwagger'
1717
import { connectAndGetRedisInstance } from './api/v1/cache/InitRedisInstance'
1818
import Healthcheck from './api/v1/shared/utils/common/Healthcheck'
1919
import { CommonHandler } from './api/v1/handlers/CommonHandler'
20-
import helmet from '@fastify/helmet'
2120

2221
const main = async () => {
2322
CONFIG.log()
@@ -29,7 +28,6 @@ const main = async () => {
2928
}
3029
})
3130

32-
server.register(helmet)
3331

3432
await initSwaggerViewer(server)
3533

0 commit comments

Comments
 (0)