File tree Expand file tree Collapse file tree 2 files changed +1
-13
lines changed
frontend/app/(website)/studio/main/modGPT Expand file tree Collapse file tree 2 files changed +1
-13
lines changed Original file line number Diff line number Diff line change @@ -22,5 +22,5 @@ const prodGptServer = shouldUseCodemodAi
22
22
? "https://backend.codemod.com/modgpt"
23
23
: "https://backend.codemod.com" ;
24
24
export const modGptServer = `${
25
- shouldUseCodemodAi ? "http://0.0.0.0:9999" : prodGptServer
25
+ isDevelopment ? "http://0.0.0.0:9999" : prodGptServer
26
26
} /${ SEND_CHAT } `;
Original file line number Diff line number Diff line change @@ -27,18 +27,6 @@ export const protectedRoutes: FastifyPluginCallback = (
27
27
_opts ,
28
28
done ,
29
29
) => {
30
- if ( areClerkKeysSet ( environment ) ) {
31
- const clerkOptions = {
32
- publishableKey : environment . CLERK_PUBLISH_KEY ,
33
- secretKey : environment . CLERK_SECRET_KEY ,
34
- jwtKey : environment . CLERK_JWT_KEY ,
35
- } ;
36
-
37
- instance . register ( clerkPlugin , clerkOptions ) ;
38
- } else {
39
- console . warn ( "No Clerk keys set. Authentication is disabled." ) ;
40
- }
41
-
42
30
if ( ! isDevelopment ) getSendChatPath ( fastify ) ;
43
31
done ( ) ;
44
32
} ;
You can’t perform that action at this time.
0 commit comments