We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b06f1d5 commit fdd9406Copy full SHA for fdd9406
templates/next/app/page.tsx
@@ -30,7 +30,11 @@ export default async function Home({
30
31
const frameMessage = await getFrameMessage(previousFrame.postBody, {
32
// remove if you aren't using @frames.js/debugger or you just don't want to use the debugger hub
33
- hubHttpUrl: "http://localhost:3010/hub",
+ ...(process.env.NODE_ENV === "production"
34
+ ? {}
35
+ : {
36
+ hubHttpUrl: "http://localhost:3010/hub",
37
+ }),
38
});
39
40
if (frameMessage && !frameMessage?.isValid) {
0 commit comments