We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c27ca39 commit 68594f5Copy full SHA for 68594f5
apps/modgpt/src/routes/index.ts
@@ -6,7 +6,6 @@ import { getRootPath } from "./root";
6
import { getSendChatPath } from "./sendChat";
7
import { getVersionPath } from "./version";
8
9
-const noop = (x: unknown) => undefined;
10
export const publicRoutes: FastifyPluginCallback = (instance, _opts, done) => {
11
[getRootPath, getVersionPath].forEach((f) => f(instance));
12
instance.options("/sendChat", (request, reply) => {
@@ -34,6 +33,6 @@ export const protectedRoutes: FastifyPluginCallback = (
34
33
// if (isDevelopment) console.info("ENV set to development");
35
}
36
37
- if (!isDevelopment) getSendChatPath(instance);
+ getSendChatPath(instance);
38
done();
39
};
0 commit comments