fix: production api url

This commit is contained in:
Max Koon
2025-10-20 10:23:12 -04:00
parent ec2a5e26dd
commit f76eeb6eb0
7 changed files with 430 additions and 62 deletions

View File

@@ -47,7 +47,7 @@ app.get("/", (c) => c.text("OK"));
serve(
{
fetch: app.fetch,
port: 3000,
port: process.env.PORT ? parseInt(process.env.PORT) : 3000,
},
(info) => {
console.log(`Server is running on ${info.address}:${info.port}`);

View File

@@ -116,7 +116,7 @@ const createMutators = (authData: AuthData | null) => {
const { data } = await plaidClient.transactionsGet({
access_token: account.token,
start_date: "2025-10-01",
end_date: "2025-10-15",
end_date: "2025-10-18",
});
const transactions = data.transactions.map(tx => ({