mennov_
mennov_
CCConvex Community
Created by mennov_ on 1/16/2025 in #support-community
skip - works in dev not prod
I tried that, and it made no difference. Ended up blowing away the bun lock file, did a new bun install, and committed the new bun lockfile. After that the production build was successful.
8 replies
CCConvex Community
Created by mennov_ on 1/11/2025 in #support-community
Limit Domain
Solved it for now by limiting the oauth2 application to just internal users.
3 replies
CCConvex Community
Created by mennov_ on 1/16/2025 in #support-community
skip - works in dev not prod
I did build this in a brand new repo as well, and didn't run into an issue there. Issue seems to be in my existing repo with many other functions.
8 replies
CCConvex Community
Created by mennov_ on 1/16/2025 in #support-community
skip - works in dev not prod
import { v } from "convex/values";
import { query } from "./_generated/server";

export const hello = query({
args: {
name: v.string(),
},
async handler(ctx, { name }) {
if (ctx) {
true;
}
return `Hello, ${name}!`;
},
});
import { v } from "convex/values";
import { query } from "./_generated/server";

export const hello = query({
args: {
name: v.string(),
},
async handler(ctx, { name }) {
if (ctx) {
true;
}
return `Hello, ${name}!`;
},
});
8 replies
CCConvex Community
Created by mennov_ on 1/16/2025 in #support-community
skip - works in dev not prod
Here is a sample page
function RouteComponent() {
const hello = useQuery(api.testskip.hello, "skip");
return (
<div>
This page should load without error
{JSON.stringify({ type: typeof hello, hello })}
</div>
);
}
function RouteComponent() {
const hello = useQuery(api.testskip.hello, "skip");
return (
<div>
This page should load without error
{JSON.stringify({ type: typeof hello, hello })}
</div>
);
}
When running as bun run dev, it will correctly remain undefined. When running bun run build followed by bunx serve -s dist -l 5173 it will try to execute the query every time.
8 replies
CCConvex Community
Created by mennov_ on 9/29/2024 in #general
Convex Auth JWT key
I actually looked and found JWT private key in the convex dashboard. I just need to load it into the client somehow.
3 replies
CCConvex Community
Created by mennov_ on 9/29/2024 in #general
Convex Auth JWT key
I guess the question might be, how do I get the convex JWT key, and how should I inject it into the client (assuming cookie?)?
3 replies