We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a1b78d3 commit f38658fCopy full SHA for f38658f
server/helpers/server.ts
@@ -26,15 +26,15 @@ const createServer = async (serverName: string): Promise<FastifyInstance> => {
26
);
27
}
28
29
- if (process.env.NODE_ENV === "production") {
30
- if (request.routerPath?.includes("static")) {
31
- return reply.status(404).send({
32
- statusCode: 404,
33
- error: "Not Found",
34
- message: "Not Found",
35
- });
36
- }
37
+ // if (process.env.NODE_ENV === "production") {
+ // if (request.routerPath?.includes("static")) {
+ // return reply.status(404).send({
+ // statusCode: 404,
+ // error: "Not Found",
+ // message: "Not Found",
+ // });
+ // }
38
39
const { url } = request;
40
// Skip Authentication for Health Check and Static Files and JSON Files for Swagger
0 commit comments